jQuery Hide & Show Example
<!DOCTYPE html> <html> <head> <title>Hide Method</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#button").click(function(){ $("#textbox").hide(); }); }); </script> </head> <body> <form id="form"> <input type="text" id="textbox" value="Hello World" readonly=""><br> <input type="button" id="button" value="Submit"> </form> </body> </html>