Answer the question
In order to leave comments, you need to log in
How to perform ajax in Cordova?
Good time of the day. How to make an ajax request in index.js
as an example
var settings = {
"async": true,
"crossDomain": true,
"url": "http://192.168.0.130/hello",
"method": "GET",
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question