[jQuery] Ajax Call and Javascript In Result Not Working

2007-08-10 Thread mstearne
Why isn't the Javscript contained in an HTML file executed in IE or Safari when I call: $.get("/mobile/includes/shc/p2.php", function(data) {$("#p2Div").html(data);}); Using the current version of jquery 1.1.3.1 Thanks, Michael

[jQuery] Executing Javascript Code in Ajax Call In Safari

2007-08-09 Thread mstearne
I am trying to run some ajax with jquery that is simply calling an HTML (PHP) file that also has some Javascript in it. In Firefox the JS gets executed but in Safari only the HTML is rendered. How can I get Safari to execute the Javascript within the page I am calling? The JS contained in the scri