[jQuery] Re: How to re-apply previous events.

2007-06-14 Thread Herr M.
As far as I know, after the code var clickFunction = $("img").click(function(){ alert('yo'); return false; }); clickFunction contains the jQuery object for the element and not the function.

[jQuery] Re: How to re-apply previous events.

2007-06-14 Thread besh
http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Rate_me:_Using_Ajax ...the second example. Is this what you're looking for? -- Bohdan On Jun 14, 3:42 pm, Tom Holder <[EMAIL PROTECTED]> wrote: > Hi All, > > I have some xhtml in my page with images that have certain events. A > click

[jQuery] Re: How to re-apply previous events.

2007-06-14 Thread Robert O'Rourke
Tom Holder wrote: Hi All, I have some xhtml in my page with images that have certain events. A click and a mouseover. When a user uploads another image, it replaces the current ones using AJAX. My question is, how can I rebind whatever events where previously on the images back on the new con