PHP Classes

File: main/js/main.js

Recommend this page to a friend!
  Classes of Zamani   PHP Login System with Email Verification   main/js/main.js   Download  
File: main/js/main.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Login System with Email Verification
Register and login users activated using email
Author: By
Last change:
Date: 11 months ago
Size: 682 bytes
 

Contents

Class file image Download
$(function () { $('#login-form-link').click(function (e) { $("#login-form").delay(100).fadeIn(100); $("#register-form").fadeOut(100); $('#register-form-link').removeClass('active'); $(this).addClass('active'); e.preventDefault(); }); $('#register-form-link').click(function (e) { $("#register-form").delay(100).fadeIn(100); $("#login-form").fadeOut(100); $('#login-form-link').removeClass('active'); $(this).addClass('active'); e.preventDefault(); }); }); function validateEmail($email) { var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,})?$/; return emailReg.test($email); }