SHARE
TWEET

Untitled

a guest Dec 6th, 2016 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $scope.formModal = function(){
  2. swal({background:'#ACF1F4',html:"<form method='post' id='loginform'>Username:
  3. <input id='username' name='username' >
  4. <br><br>Password:<input type='password' id='password' name='password'><br>  <br></form>",
  5. confirmButtonText: 'Submit',showCancelButton: true},
  6. , function(){
  7. $http.post("login.php",{"username":username,"password":password})
  8. .success(function(data){swal(data)})
  9. }
  10. );
  11.  
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top