After a little debugging I found the correct way to get what you are trying
to do or the jQuery way!!!

Check out $.getScript  (http://jquery.com/api/) as it passes "script" in the
fourth parameter for AJAX get: and I think it would more than likely work
for you are trying to do and then you wont need the extra div tag.

I took out the script tags from your xml file sample and tried $getScript
and it worked in global scope as well with the only exception that even
though you can call global functions, variables end up scoped local to your
script in Firefox and in IE everything appears to run globally.  What a
pain...

Kevin Pirkl (ZombieBob at Intel)


Surge Mitchell wrote:
> 
> Thanks a lot. You code fixed it in IE but broke firefox, but it using your
> code I made it so that I could determine if the php script generating the
> code should add script tags on it when it does its request and had it do a
> .load function instead..............
> 
> 
> Kevin Pirkl wrote:
>> 
>> Internet Explorer wont execute dynamic code in that manner.  You have two
>> options...  (I like the second one better.)  I tested through the second
>> solution and it appears to work fine.......
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/.load%28%29-not-executing-javascript-code-in-IE-tf2883329.html#a8080854
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to