Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
$(document).ready(function() { $("#register").click(function() { var name = $("#name").val(); var email = $("#email").val(); var password = $("#password").val(); var cpassword = $("#cpassword").val(); if (name == '' || email == '' || password == '' || cpassword == '') { alert("Please fill all fields...!!!!!!"); } else if ((password.length) < 8) { alert("Password should atleast 8 character in length...!!!!!!"); } else if (!(password).match(cpassword)) { alert("Your passwords don't match. Try again?"); } else { $.post("register.php", { name1: name, email1: email, password1: password }, function(data) { if (data == 'You have Successfully Registered.....') { $("form")[0].reset(); } alert(data); }); } }); });
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)