solution for ajax call on IE
$.ajax({
url:'',
data:'',
type:'get',
cache:false,
dataType:'json',
success:function(a)
{
alert('success');
}
error:function(a)
{
alert('error');
}
the above code when run on IE its always execute the error block on success of ajax call for slove it use dataType:'jsonp' at the place of dataType='json'
Categories:
jQuery
View Comments
Comment or Ask a Question
Quick Links