title: jQuery: Test to see if name attribute is equal to a given string
body: <p>Given a list of HTML inputs, textareas, and selects, I would like to check and see if any have a name attribute equal to a given string, and if any do, to add a class to it.</p>
  
  <p>For example:</p>
  
  <pre><code>if($('textarea, input, select').attr("name") == "this_name"){
      $(this).addClass("myClass");
  }
  </code></pre>
  
  <p>I'm just not sure what I', doing wrong here, but it doesn't seem to be working.</p>