var driverName = (“#txtDriverName”).val().replace(“’”,“””);
varphone=(“#txtPhone”).val().replace(“’”,“””);
var carNo = (“#txtCarNo”).val().replace(“’”,“””);.ajax({ type: “Post”,url: “DriverLocationMap.aspx/GetDataBind”,async: false,contentType: “application/json; charset=utf-8”,dataType: “json”,data: “{routeId:’”+ routeId + “’,currentCity:’” + currentCity + “’,driverName:\”” + driverName + “\”,phone:\”” + phone + “\”,carNo:\”” + carNo + “\”}”,success: function(data) { jsonStr=JSON.parse(data.d); } });