I was wondering why Chrome doesnt parse a page correctly when I add a page loaded by the .Load() method
I integrate a page with full html, head and body tags and it just ignores everything there except my content. Making it impossible to integrate a jquery script...
Am i overlooking something? Does chrome filter out the html, head and body tags when load()ing?
2nd question... Is it needed to use full html, head an body tagging on the integrated page, or can i just pass everything between the body tag and but the script in there?
EDIT:
The element that triggers the colorbox:
<a class="teaminfo cboxElement" href="news/teaminfo.htm">Lees verder</a>
the Page thats loaded. ( in short)
<head>
<title></title>
<link type="text/css" href="/style/style.css" rel="stylesheet" />
<link type="text/css" media="screen" rel="stylesheet" href="/style/style.css" />
<meta name="keywords" content="" />
<script src="/js/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="/js/jquery.colorbox-min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function()
{
$(".teaminfo").colorbox();
});
</script>
3rd and 4th question: If i put a script in the body element of the page, will this use the calling page head scripts, and will it validate at w3c?