attributeNotEqual(attribute, value) matches elements that don't 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>