Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#loginsubmit').click(function() {
- var username = $('#usernamelogin').val();
- var password = $('#passwordlogin').val();
- if(username == "") {
- return false;
- }
- if(password == "") {
- return false;
- }
- $.ajax({
- url: "loginprocess.php",
- type: "post",
- cache: false,
- data: "username=" . username . "&password=" . password,
- success: function(html) {
- if(html == '1') {
- alert("asd");
- }
- }
- });
- logintitle();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement