Running javascript in AJAX loaded DIV

Posted by WiseDonkey on Stack Overflow See other posts from Stack Overflow or by WiseDonkey
Published on 2010-06-17T16:08:47Z Indexed on 2010/06/17 16:13 UTC
Read the original article Hit count: 190

Filed under:
|
|

I have page loading, via AJAX a PHP page into a div.

In turn, this loaded page has it's own javascript and AJAX loaded div.

Reason is to allow user to select data > alter data within loaded data. I'm trying to do this without the help of JSON or such to communicate between JS and PHP.

I'm guessing the parent calling page has already loaded the javascript, and the AJAX loaded content can't access that? (I've tried running the JS into the AJAX loaded content as well) If so, is there anyway to access that?

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript