Ok, more of a javascript question! But its all about getting javascript and my php pages working in union!
I have a xmlhttprequest -- which calls a php page - which itself has some javascript functions.
However, when I add the the text using:
element.innerHTML = loadedPage.responseText;
I run into problems when the page returned includes javascript.
It all looks fine through the DOM Inspector but it doesnt run the javascript - and doesn't see the functions.
Any ideas if there is a way round this ?