Hello Karl, Thank you for your reply. But I think you mis understand me. I want the scripts in the page I loaded with ajax to execute, not let my already existing scripts work with the newly loaded content.
For example: main.html: function test() { ... } newpage.html: onready function other function So when I load the newpage.html into a div in main.html, I want to execute the onready function from newpage.html On Aug 18, 4:04 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Michael, > > You have run into a fairly common issue: how to get events to work > with elements that are added to the DOM, through either ajax or simple > DOM mainpulation, after the "document ready" code has already fired. > > This FAQ topic should answer your question: > > http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st... > > If you still have problems after reading through it and trying one of > the many solutions, let us know. > > --Karl >