Does jQuery.load(url)
prevent scripts within the url content to run when the content is a fragment of a page?
For example, when the content is returned in the manner below, the embedded scripts are executed.
<html>
<body>
<script>
</script>
<table>
</table>
</body>
</html>
However, when the content is returned in the following format, the scripts do not run.(note: there are no external references in the scripts)
<script>
</script>
<table>
</table>
I am using
$('#myDiv').load(contentUrl);
Thanks,