fitraagungdp

Untitled

Sep 20th, 2022
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.33 KB | Source Code | 0 0
  1. function validate(){
  2.     var username=document.getElementById("usernameLogin").value;
  3.     var password=document.getElementById("passwordLogin").value;
  4.  
  5.     if(username=="5025201072" && password=="fitra123"){
  6.         alert("LOGIN SUCCESS");
  7.         return false
  8.     }
  9.  
  10.     else{
  11.         alert("Username / password wrong")
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment