[jQuery] ajax and IE

[jQuery] ajax and IE

--------------------------------
host page:
function load(src, dest, params) {
$.ajax({type: "POST", url: src, datatype: "html", data: params, success: function(pg) {
            $("#" + dest).html(pg).fadeIn("slow");
       }
});
}
(this loads the page fine into the dest div in both IE and FF however...)
--------------------------------
guest page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "
<a href="http://www.w3.org/TR/html4/loose.dtd">http://www.w3.org/TR/html4/loose.dtd</a>">
<html>
<head>
    <title>test</title>
</head>
<body>
   test
         <script type="text/javascript">
        alert("reading test");
    </script>
</body>
</html>
(in FF loading this produces the expected alert but NOT in IE)
--------------------------------
could thi shave something to do with using a function to do the ajax call rather than directly inline?
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/