B
@jaumemorera I also want to do ajax call same as below but not working in onsen ui. Please guide me you know.
var person = {}
person["ContactNo"] = "9428299999";
person["Pwd"] = "123";
alert(JSON.stringify(person));
$.ajax({
url: "http://voting.somee.com/api/AjaxAPI/LoginAuth",
type: 'post',
dataType: 'json',
//contentType: 'application/json',
data: person,
success: function (data) {
var myJSON = JSON.stringify(data);
alert(myJSON);
},
error: function (response) {
alert(response.responseText);
}
});