This content has been marked as final.
Show 2 replies
-
1. Re: Unobstrusive event handling with Spry
Arnout Kazemier Dec 22, 2009 7:48 AM (in response to Phil_W)Spry.$$
('#ReplyQuote').addEventListener("change",storeCaret(this),false);
that will execute the storeCaret() function inside the observer.. The
function should be passed in as reference to the function. (without
the () );
Spry.$$('#ReplyQuote').addEventListener("change",storeCaret,false);
Will work. the "this" inside the function will reference to your
ReplyQuote
-
2. Re: Unobstrusive event handling with Spry
Phil_W Dec 22, 2009 8:06 AM (in response to Arnout Kazemier)Fantastic - all working nicely now.
Thanks for fast response.


