Hi, I tried following :

$.ajax({
    type: 'GET',
    url: 'php/query/product.php?id=1',
    success: function(response){
      alert(response.id);
    }
  });

the php script throws {id:1} (JSON notation data)

The alert under IE is 'undefined';

If I alert (response) - 'object' is displayed.
I tried many things -
eval(response)
eval('var p = ' + response);
and many more but nothing works...

Any ideas ?

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/%24.ajax%28...%29-not-working-under-IE-tf2356844.html#a6564807
Sent from the JQuery mailing list archive at Nabble.com.


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

Reply via email to