Link to home
Start Free TrialLog in
Avatar of MinnRick
MinnRickFlag for United States of America

asked on

jQuery Methods Not Active Against Dynamically Created Content?

Hello Experts -
I have an ASP.NET page into which I am injecting some jQuery-sourced HTML.  The content is getting created by the top-most code inside the $(document).ready block in the page's header.  I have some additional jQuery functions coded further down in the $(document).ready block but none of the injected content appears to respond to those functions.  Is there a reason for this and how (if it's possible) can I code the solution so that the new HTML responds to my jQuery functions?  Thanks.

-- Rick
Avatar of mrh14852
mrh14852

Post your code
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MinnRick

ASKER

Thanks!  live() did work but, curiously, when I took a look at the jQuery api documentation it said that live() has been deprecated (as of 1.7 - I'm using 1.7.1) in favor of on().  I tried on() and it stopped working.  Maddening.