Different browsers handle adding script tags to the body differently. $().load() covers the gap by manually running script tags in IE, but in the other ajax functions you need to handle it yourself.
That's my understanding anyway. Blair On 1/23/07, Hayden Chambers <[EMAIL PROTECTED]> wrote:
-------------------------------- 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" " http://www.w3.org/TR/html4/loose.dtd"> <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/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/