jQuery form validation
Hello freinds, we know that every dynamic form need to be proper validated through the server and client side. some one get the doubt why we need to be implemented on both client and server side. as per my opinion we just need Server side validation only, but it takes more server resources and requests if user doesn’t submit the data correctly . some one will get question why we can only implment client side validation , i say NO for only client side validation because some users will disable javascript and send the data to server in that case it is useless to implment only client side validation. It is good practice to implement both client and server side validation .
I have created a long validation class for PHP and posted in my previous tutorial. now we are going to learn how to implement the client side valdiation with jQuery . for that we have a good jQuery validation plug in , that can be used in many ways. you can see the examples here.