Back to Top

Run-Time Validation using jQuery

Run-Time Validation using jquery

Here I come with the new quick article. In this article, I am going to explain to validate field run time using jQuery.

jQuery Validator is very useful tool to validate fields immediately using jQuery.
For Example, You want to check email exists in the database. So, you need to write validation rules which runtime check an email address.

Let’s understand below code:

Here In above code, I have written .rules() inside the .validate().

The remote method will work same like Ajax call. You can pass request data and URL same like Ajax request.

Further Read:

Jquery Tabs in WordPress without plugin
jQuery Shake Effect Explained
JQuery Animation Explained

That’s it.I’m hoping that you’ve found this article helpful. Don’t hesitate to use this code and post your comments if you need help. As always, thanks for reading. Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Share:
Share on Facebook0Share on LinkedIn0Tweet about this on TwitterShare on Google+0Buffer this pageDigg thisShare on Reddit0

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular Posts

How To Use The HTML5 Notification API

Posted on 7 months ago

Bhumi

Function handling Functions in PHP

Posted on 5 years ago

Bhumi

Really! PHP touches the 200 Million Mark

Posted on 4 years ago

John Pitt

What is Reflection in PHP

Posted on 2 years ago

Bhumi

How To Send Email in MODx

Posted on 5 years ago

Bhumi

Facade implementation in Laravel

Updated 1 month ago

Bhumi

MySQL coalesce() function

Updated 18 years ago

Bhumi

How to use JavaScript Promise API?

Updated 18 years ago

Bhumi

What are Lambdas and Closures in PHP?

Updated 18 years ago

Bhumi

The Reader’s Poll – June 2015

Posted on 2 years ago

Bhumi

The Reader’s Poll – August 2014

Posted on 3 years ago

Bhumi

The Reader’s Poll – June 2014

Posted on 3 years ago

Bhumi

The Readers’ Poll – May 2014

Posted on 3 years ago

Bhumi

The Readers’ Poll – August 2013

Posted on 4 years ago

Bhumi