Select attribute: not equals : Selector Attribute « jQuery « JavaScript DHTML






Select attribute: not equals

     
<html>
  <head>

    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){
          $("input[name!='me']").next().text(" changed");


    });
    </script>
  </head>
  <body>
      <div>
        <input type="radio" name="you" value="A" />
        <span>data</span>
      </div>
      <div>
        <input type="radio" name="me" value="B" />
          <span>data</span>
      </div>
      <div>
        <input type="radio" name="me" value="C" />
        <span>data</span>
      </div>
  </body>
</html>

   
    
    
    
    
  








Related examples in the same category

1.Select attribute and it ends with a certain value
2.Select attribute value
3.Select attribute: start with
4.Select attribute value: match value
5.Select attribute by value
6.Get by attribute
7.match all of the specified attribute filters
8.attributeNotEqual(attribute, value) matches elements that don't have the specified attribute
9.attributeMultiple(selector1, selector2, selectorN) matches elements with specified attribute
10.attributeHas(attribute) matches elements that have the specified attribute.
11.attributeEquals(attribute, value) matches elements with the specified attribute
12.attributeEndsWith(attribute, value): have the specified attribute and it ends with a certain value.
13.attributeContains(attribute, value) matches specified attribute