Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello
I am confusing that How to Use Ajax call in Accelerated Mobile Page Using Asp.net MVC?



function call(){
$.ajax({
type: "GET",
crossDomain: true,
url: query,
contentType: "application/json; charset=utf-8",
dataType: "XML",
success: function (data1) {
if (data1 != null) {
Bind(data1);
}
},
error: function (response, textStatus, errorThrown) {
alert(errorThrown);
}
});
}

<a onclick=call()>

What I have tried:

i tried a lot on R&D but can't get any result
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900