<html> <head> <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("form input").css("border", "2px solid blue"); }); </script> </head> <body> <body> <form> <input name="name" /> <input name="newsletter" /> </form> </body> </html>