title: Invalid Assignment Left-Hand Side
body: <p>I am trying to assign a class to an a tag via jquery, but this is resulting in an error through firebug that says "invalid assignment left-hand side" on the fourth line below.</p>
  
  <pre><code>&lt;cfoutput&gt;
  $('.pngfix a').each(function(index) {
  var hreflink = $(this).attr("href");
  if (hreflink.toLowerCase() = '../Audio.cfm') {
  $(this).addClass('audioImg');   
  }
  });
  &lt;/cfoutput&gt;
  </code></pre>
  
  <p>Looking around online, it looks like a syntax problem, but I don't seem to see it...</p>
  
  <p>Any tips?</p>
  
  <p>Thanks</p>