[jQuery] IE and .ajax(). No Exception, No Results

[jQuery] IE and .ajax(). No Exception, No Results


In IE 6 and IE 7 do not provide any exceptions and/or results when
running the following. Any ideas or advice is appreciated.
<html>
<head>
<title>Parse XML with JQuery</title>
<script language="javascript" src="jquery-1.2.1.js"></script>
<script language="javascript">
$(function() {
$.ajax({
type: "POST",
url: "books.xml",
dataType: "xml",
success: function(xmlData)
{
xmlDataSet = xmlData;
buildHTMLFromXML();
}
});
});
function buildHTMLFromXML()
{
resultSetLength = $("book",xmlDataSet).length;
strToAppend = "<strong>There are a total of " + resultSetLength
+ " books</strong>.<br />";
strToAppend += "------------------------<br />";
$("title",xmlDataSet).each(function(i) {
strToAppend += "<strong>" + $(this).text() + "</strong><br /


























    • Topic Participants

    • m2web