Reputation: 2066
i have the following code;
$("#testbtn").live("click", function(){
$("#targetdiv").load("http://localhost/test/test.php");
});
but it is not working in ie but working fine in chrome firefox safari etc...
Upvotes: 0
Views: 155
Reputation: 322492
If it is not working in IE, but it is in standards compliant browsers, it may just be a simple (or not so simple) CSS layout situation.
In a callback to the load
method, do an alert to verify that the data was received.
$("#testbtn").live("click", function(){
$("#targetdiv").load("http://localhost/test/test.php", function(data){alert(data);});
});
Upvotes: 1