SHARE
TWEET

Untitled

a guest Oct 23rd, 2017 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   $('#submitRegistration').on('click', function (event) {
  2.         event.preventDefault();
  3.         var username = $('#newUsername').val();
  4.         var password = $('#newPassword').val();
  5.         if (username.length > 1 && password.length > 0) {
  6.             userList.addUser(username, password);
  7.             $('#registration').css('display', 'none');
  8.             $('#signIn').css('display', 'block');
  9.         } else {
  10.             $('#use').css('display', 'inline');
  11.             $('#pas').css('display', 'inline');
  12.         }
  13.     })
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