jQuery does not execute on dynamically loaded content, even on a click events
问题 I have two document.ready() functions. The first loads content into div#header . The second one performs a hide function and then a toggle function on the newly loaded content . I am not sure if this is a queueing issue or something, but not even the alert() below is executed when I click the loaded content. Thanks. <script type="text/javascript"> $(document).ready(function() { $("#header").load("/documents/collegeradioheader.txt"); }); </script> <script type="text/javascript"> $(document)