[jQuery] Re: jquery expressions after loading content via ajax

2009-05-12 Thread Steven Yang
yes thats rightor maybe you can run this just once after all you content has been loaded depend on your situation because i am not sure if there will be any issues if you run it on the same element twice

[jQuery] Re: jquery expressions after loading content via ajax

2009-05-12 Thread flopp
okey, you understood me completely right:) and I understand the issue. So the best way to do this is to make a callback script that run $("#contents .tooltip").tooltip({ track: true, delay: 0, showURL: false, opacity: 0, fixPNG: true, showBody: " - ", extraClass: "pret

[jQuery] Re: jquery expressions after loading content via ajax

2009-05-12 Thread Steven Yang
correct me if i misunderstood you so what you mean is that you have some element with class "tooltip" when the page load the first time and when you call $(".tooltip").tooltip() things work. but when you call ajax and load some more content (containing element with class "tooltip" as well) into the