Gregor,

If the site is being updated by Ajax, you can just implement your code wherever that "update" code runs.

Perhaps you're looking for the AjaxOptions? That will let you specify the function to run when an Ajax request completes successfully...

http://www.sergiopereira.com/articles/prototype.js.html#Ajax.options

-Jerod

On 1/28/06, Grzesiek Slusarek <[EMAIL PROTECTED]> wrote:
Hi all. I have site that is updated by Ajax updater. After site is update i want to use some _javascript_ code and I don't want use _javascript_ onClick. I try to use some event listener but I don't know how to fire them. What is the event when some part of site is update by ajax?
Thanks for any help
Gregor

----------------------------------------------------
Chuck nie musi dzwonić za darmo, to ludzie dzwonią do niego...
przez Spika: http://klik.wp.pl/?adr=www.spik.wp.pl&sid=644


_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to