Getting error: Uncaught Syntax Error: Unexpected token : <p>I need to add class to all the links that have "href=login". And i tried to use this javascript</p>

<pre><code>jQuery(document).ready(function($){
$(.pageWidth).find('a[href*="/login/"]').addClass('OverlayTrigger');})
</code></pre>

<p>Unfortunately, i tried so many times and it always getting this error</p>

<blockquote>
  <p>Uncaught Syntax Error: Unexpected token</p>
</blockquote>

<p>How can i fix this? What's the problem here?
Thank you!</p>
