Hello all i am new to read javascript i need to call this function...
function get_status() {
$(".alert").remove();
if (inProcess == false) {
inProcess = true;
showProgressBar();
$.ajax({
url: 'MYURL.html',
dataType: 'json',
type: 'POST',
data: $("#mydata input_txt"),
success: function(response) {
inProcess = false;
if (response['status'] == 1) {
location.reload();
} else {
$("#mydata.modal-body").prepend("<div class='alert alert-warning'>" + response['message'] + "</div>");
}
}
});
}
}
i want to call this function of .html file to my android .java file
i found one Link but not able to understand that i how i can use this lib?
Thanks in advance.