PHP Classes

File: example/js/main.js

Recommend this page to a friend!
  Classes of Ashraf Gheith  >  PHP Secure Login and Registration  >  example/js/main.js  >  Download  
File: example/js/main.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Secure Login and Registration
Register and login users in a database with PDO
Author: By
Last change: Fix of registration problem mentioned by San Hiscio
Date: 5 years ago
Size: 610 bytes


Class file image Download
$(function() {

    $('#login-form-link').click(function(e) {

	$('#register-form-link').click(function(e) {


function validateEmail($email) {
	var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,})?$/;
  	return emailReg.test( $email );
For more information send a message to info at phpclasses dot org.