Type Your Order# To Track Your Order
$(document).ready(function() {
$("#trackingSearch").click(function(){
$("body").addClass("loading");
var obj, dbParam, xmlhttp, myObj, x, txt = "";
var l_SearchValue = $("#searchBox").val();
if(l_SearchValue == "") { alert("Please Enter Order Number"); }
var l_url = 'https://bigazure.com/api/live/json/tracking/serverjson.php'; var data=''; data = { "acno": "LHE-01763", "userid": "rangreza.official", "password": "12345", "order_refernce_code": l_SearchValue };
act = JSON.stringify(data) ; $.ajax({ url: l_url, headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, method: 'POST', type: 'json', data : {request:act},
success: function (response) {
$("body").removeClass("loading"); console.log(response);
myObj = JSON.parse(response); txt += "
Status : | " + myObj.status + " |
Success : | " + myObj.success + " |
OrderReferenceCode : | " + myObj.order_refernce_code + " |
Details | ";
txt += "
"; txt += " "; txt += " "; txt += " "; txt += " |
cn | " + myObj.cn + " |
"; document.getElementById("demo").innerHTML = txt; }, error: function (error) { console.log(error); } });
});
});