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.

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 10 months ago


How to use SSL in WordPress

Posted on 5 years ago


PHP Encapsulation with simple example

Posted on 1 year ago