Guest User

Untitled

a guest
Sep 2nd, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Use JSON in Iphone Application
  2. $.post("loginscript.php", { username: $("#myusernamefield").val(), password: $("#mypasswordfield").val() },
  3. function(data) {
  4. if(data == "true")
  5. {
  6. alert("Successful login");
  7. } else {
  8. alert("login failed");
  9. }
  10. });
Add Comment
Please, Sign In to add comment