[jQuery] Re: hover() only working on DOM elements NOT loaded via jQuery?

2008-03-26 Thread jquertil
thanks Karl, but you see, I thought I circumvent the issue by actually having loaded the new content into an invisible DIV already. hence lis line: $('#tab_1').html( $('#tabcontent_1').html() ); it's moving the contents of the invisible DIV into the tab DIV. scratching head still...

[jQuery] Re: hover() only working on DOM elements NOT loaded via jQuery?

2008-03-26 Thread Karl Rudd
You can't really circumvent it. If the elements don't exist when you try to attach events to them, they won't get events attached to them. If that's the problem then try the LiveQuery plugin. Karl On Wed, Mar 26, 2008 at 11:54 AM, jquertil [EMAIL PROTECTED] wrote: thanks Karl, but you see,

[jQuery] Re: hover() only working on DOM elements NOT loaded via jQuery?

2008-03-25 Thread Karl Rudd
Do you assign the events then load the tab contents? If so then read this: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F If you load the tab contents then assign the events, I have no idea what the problem could be. You'd need to