Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- type: 'post',
- url: 'login.php',
- data: {username: username, password: password},
- success: function (data) {
- if (data=="succes"){alert("ok")}
- else if (data=="nouser"){alert("fatallll")}
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement