Mega Code Archive

 
Categories / JavaScript Tutorial / JQuery
 

AttributeNotEqual(attribute, value) matches elements that dont have the specified attribute

< html>   <head>     <script type="text/javascript" src="js/jquery-1.3.2.js"></script>     <script type="text/javascript">         $(document).ready(function(){             $("input[name!='n']").val(" not n");         });     </script>   </head>   <body>     <body>       <input type="text" name="newsletter" value="Hot Fuzz" />     </body> </html>