Hi, I'm building an application in which pages are loaded dynamically with JQuery's load(file) function.
When i call the load(file) function from that main page, new elements with new IDs are dynamically loaded in the main page. these DIVs are new and no actions are bound on them since the $(document).ready (function(){...}); has already triggered. I am not able to bind anything on a DIV that is coming from an external file loaded with JQuery's load(file) function. In other words, i have a main page with a menu that loads external files in the #content div with the load(file) function. The external file contains a DIV, and i want to bind a function to it $ ("#mynewdivfromexternalfile").click(function() {alert ('it worx!'} ); Any ideas why it is not working? Thanks