PHP Classes

File: assets/coloftech.min.js

Recommend this page to a friend!
  Classes of harold rita   PHP Thesis Proposal Hub   assets/coloftech.min.js   Download  
File: assets/coloftech.min.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Thesis Proposal Hub
Store and publish research thesis documents
Author: By
Last change:
Date: 6 years ago
Size: 1,190 bytes
 

Contents

Class file image Download
$(document).ready(function(){$('[data-toggle="offcanvas"]').click(function(){$("#navigation").toggleClass("hidden-xs")})}); $(function(){$("#formsignup").submit(function(a){a.preventDefault();a.stopPropagation();a=$("#firstname").val();var b=$("#lastname").val(),e=$("#email").val(),c=$("#password").val(),d=$("#confirmPassword").val();if(c===d)$.ajax({url:"<?=site_url('signup');?>",type:"POST",data:"firstname="+a+"&lastname="+b+"&email="+e+"&password="+c+"&confirmPassword="+d,dataType:"html",success:function(a){alert(a);return!1}});else return $(".signuperror").html('<i class="alert alert-warning">Sorry! Password do not match.</i>'), !1});$("#confirmPassword").keyup(function(){var a=$("#password").val(),b=$("#confirmPassword").val();""===b?($("#password").removeClass("red"),$("#confirmPassword").removeClass("red")):a===b?($("#password").removeClass("red"),$("#confirmPassword").removeClass("red")):($("#password").addClass("red"),$("#confirmPassword").addClass("red"))});$("#password").keyup(function(){var a=$("#password").val();$("#confirmPassword").val();""===a&&($("#password").removeClass("red"),$("#confirmPassword").removeClass("red"), $("#confirmPassword").val(""))})});