title: JQuery - Select option
body: <p>I have 2 buttons that fire the same form which appears over the page. I would like a dropdown option to change depending on which button is fired.</p>
  
  <p>What am I doing wrong?</p>
  
  <pre><code>var settings = $(this).attr('rel');
  $("select[@name='menu'] option[@value='"+settings+"']").attr("selected","selected");
  </code></pre>
  
  <p>Error</p>
  
  <blockquote>
    <p>Error: uncaught exception: Syntax error, unrecognized expression:[@value='footer']</p>
  </blockquote>