Send to a Friend

lefteh's avatar

Executing JavaScript in a page retrieved using AJAX?

Page A includes AJAX navigation/content. Page B is one of the pages that will be retrieved by the AJAX in Page A. Page B includes some JavaScript, which obviously won’t be executed when loaded into Page A via AJAX. How can I get that JavaScript to execute? I’ve been experimenting with eval() for a while to no avail.

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.

Mobile | Desktop


Send Feedback   

`