I need help with my AJAX call
var tid = setInterval(mycode, 2000);
function mycode() {
$.ajax({
url:'/ajx.php',
type: "GET",
success: function (data) {
},
});
}
I want the AJAX request to continue running even when the Android browser is minimized. Currently, it only works when the browser is visible on the screen.
Is it possible for other browsers besides Chrome and Mozilla to keep the AJAX request running?