<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>
Tuesday 20 October 2015
Posted by Venika Emy
No comments | 23:13
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment