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