READ ALSO
<script>
var otp_sent = 0;
function get_otp() {
return;
if (otp_sent == 1) {
alert("OTP already sent........");
return;
}
var mobile_number_val = document.getElementById("mobile_number").value;
var fid = "21";
var did = "";
var bid = "";
otp_sent = 1;
$.post("ajax_fucntion.aspx",
{
function_id: fid,
contact_number: mobile_number_val
},
function(data, status) {
alert(data);
}).fail(function(jqXHR, textStatus, errorThrown) {
alert("some error in submiting form plesase re-submit..");
_save.disabled = false;
});
//alert(mobile_number_val);
}
</script>
Read other related articles
JavaScript
Also read other articles
FOLLOW THE Project Source Code AT TWITTER TO GET THE LATEST INFORMATION OR UPDATE
Follow Project Source Code on Instagram to get the latest information or updates
Follow our Instagram