Got a little ajax happening using XMLhttpRequest, it replaces a div and works as intended.
But i cant seem to get the included ajax page to run javascript. How can i run javascript from the included ajax page?
ie: mainpage.php has select form, on select change event includepage.php gets loaded into a div on the page and changes based on what is selected in select box, this works fine and as intended using xmlhttp, the issue im having is trying to run javascript from the included page, ie: a simple alertbox.
There is no code to really past, and maybe this is a standard behaviour but i acnt find any infomation on it so any help on how to run javascript from within a included ajax page that replaces a div would be much appreciated.