By clicking a button, I successfully loaded a full HTML page (refer to the structure below) into another HTML page.
<!--START:HTML to be loaded by ajax-->
<head>
<!--START: The content inside this head tag is not processed while the page is loaded via ajax-->
<link rel="stylesheet" type="text/css" href="css/rrr.css" media="screen, projection, print" />
<script>
...
</script>
<script type="text/javascript" src="aaas/xxxx.js"></script>
<!--END: The content inside this head tag is not processed while the page is loaded via ajax-->
</head>
<div id="content">
<!--Page content on which the above script tags inside head tag to act-->
</div>
<!--END:HTML to be loaded by ajax-->
In Safari versions 5.0.1 and 5.0.2, only the content within the head tag is not parsed, but all other browsers including IE, Firefox, Chrome, and Safari 5.1.2 parse it correctly. Additionally, the content within the div with ID "content" displays properly in all browsers, including Safari 5.0.1 and 5.0.2. Any assistance on this matter would be greatly appreciated. Thank you!