trigger click on element that has multiple class
<p>I have the following element:</p>

<pre><code>  &lt;a href="#" class='popup register'&gt;Register&lt;/a&gt;
</code></pre>

<p>and I want to trigger a clic action on this, how do I do this? I tried doing:</p>

<pre><code>$('.popup .register').trigger('click');
</code></pre>

<p>but it didn't work</p>
