title: JQuery select for: two attribute's value not equaling each other
body: <p>I am trying to do a JQuery select function for elements that have two specific attributes that have different values.</p>
  
  <p>(The reason why is so that i can select inputs that have been changed.)</p>
  
  <p>However, i cannot seem to find any documentation that shows such a scenario.</p>
  
  <p>Here is a test to hide an element that was selected in this way, but like i said, I cannot find the right syntax to make it work.</p>
  
  <p>I have tried:</p>
  
  <pre><code>"[value]!=[oldvalue]" 
  "[value!=[oldvalue]]" 
  "[value!=oldvalue]" 
  </code></pre>
  
  <p>And some other crazy things that all fail.</p>
  
  <p>Any suggestions?</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
  $(document).ready(function(){
      $("button").click(function(){
          $("[value&lt;&gt;[oldvalue]]").hide();
      });
  });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;h2&gt;This is a heading&lt;/h2&gt;
  
  &lt;p&gt;This is another paragraph.&lt;/p&gt;
  &lt;p value="2" oldvalue="1"&gt;This is a paragraph to go away.&lt;/p&gt;
  &lt;p&gt;This is another paragraph.&lt;/p&gt;
  
  &lt;button&gt;Click me&lt;/button&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>