Mega Code Archive

 
Categories / JavaScript Tutorial / JQuery
 

Hides all the input elements within a form

< html>   <head>     <script type="text/javascript" src="js/jquery-1.3.2.js"></script>     <script type="text/javascript">         $(document).ready(function(){                                                  $(myForm.elements).hide()           });     </script>   </head>   <body>     <body>        <form id='myForm'>            <input type="radio" name="newsletter" value="Hot Fuzz">adf</input>        </form>     </body> </html>