Home

JQuery form validation in JavaScript

<html> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.0/jquery.min.js"> </script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.0/jquery.validate.min.js"> </script> <script> $(document).ready (function () { $("#basic-form").validate (); }); </script> <body> <h4> jQuery Validation Form Example </h4> <form id = "basic-form" action="" method="post"> <p> …

JQuery form validation in JavaScript Read More

JQuery simple example in JavaScript

<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script> $(document).ready(function(){ $("#hide").click(function(){ $("p").hide(); }); $("#show").click(function(){ $("p").show(); }); }); </script> </head> <body> <p> HELLO WORLD THIS </p> <button id="hide">Hide</button> <button id="show">Show</button> </body> </html>

JQuery simple example in JavaScript Read More