Mega Code Archive

 
Categories / JavaScript Tutorial / JQuery
 

Prev ~ siblings

< html>   <head>     <script type="text/javascript" src="js/jquery-1.3.2.js"></script>     <script type="text/javascript">   $(document).ready(function(){      $("label ~ input").css("color", "red").val("value")   });     </script>   </head>   <body>       <form>         <label>Name:</label>         <input name="name" />         <fieldset>           <label>Address:</label>           <p>p</p>           <input name="newsletter" />         </fieldset>       </form>       <input name="none" />   </body> </html>