Created
July 9, 2013 18:40
-
-
Save jonmarkgo/5959990 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function checkStatus() { | |
$.post("status.php", { phone_number : $("#phone_number").val() }, | |
function(data) { updateStatus(data.status); }, "json"); | |
} | |
function updateStatus(current) { | |
if (current === "unverified") { | |
$("#status").append("."); | |
setTimeout(checkStatus, 3000); | |
} | |
else { | |
success(); | |
} | |
} | |
function success() { | |
$("#status").text("Verified!"); | |
} |
I have failed to set up a verification code usint twilio ..I need your help
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have failed to set up a verification code usint twilio ..I need your help