I have 3 drop down selectors usin开发者_C百科g AJAX (first is populated, after selection the second gets populated and so on..), after selection a script is called to fill a <p>
tag with a table that includes pictures, the problem is that I cannot use jquery plugins on those pictures (lightroom, tooltip). I can use these features if I get pictures witought AJAX. I also tryed to move the ajax script in the root (so it can recognize functions in the js files)...
Any ideas would be appreciated :|
I'd suggest using .delegate()
over .live()
, the latter has a lot of disadvantages and its use is not really encouraged nowadays. Since you are a jQuery-newbie (as you stated), if you familiarize yourself with .delegate()
you will never miss .live()
.
Why You Should Never Use jQuery Live
精彩评论