JQuery .html() method and external scripts
- by Marco
Hi,
i'm loading, using the JQuery ajax() method, an external page with both html and javascript code:
<script type="text/javascript" src="myfile.js"></script>
<p>This is some HTML</p>
<script type="text/javascript">
alert("This is inline JS");
</script>
and setting the results into a div element, using…