Holla
I am using AJAX to load content into a section of my website. I would like the content that is loaded in to execute some javaScript. However, when i simply include it in the response, it doesn't get evaluated.
Say i request a page, test.htm. That page includes ONLY the following code:
<script language="javaScript">
function testFunction(){
alert("HELLO WORLD");
}
testFunction();
</script>
Should this function not execute, and alert "Hello world?"