Hi all - can someone please point me in the right direction. I have pages that launch their javascript components fine if the page is loaded on its own. But when the page is loaded AJAX the javascript does not fire. An example is this simple web page:
[HTML]<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript">
alert("Hello World")
</script>
</body>
</html>[/HTML]
When called on it's own, I get a "hello world" alert.
When I load this page via AJAX into a div, the alert is not displayed.
I've written many pages which are dependent upon javascript which work fine until called by AJAX. I'm guessing this is simple but I'm missing a key ingredient here.
Thanks in advance for your help.
[HTML]<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript">
alert("Hello World")
</script>
</body>
</html>[/HTML]
When called on it's own, I get a "hello world" alert.
When I load this page via AJAX into a div, the alert is not displayed.
I've written many pages which are dependent upon javascript which work fine until called by AJAX. I'm guessing this is simple but I'm missing a key ingredient here.
Thanks in advance for your help.
Comment