jQuery - click function not running as expected
<p>Im having a bit of trouble with a function of mine .. .it doesnt seem to be triggering and im not sure why.</p>

<p>I have this jQuery</p>

<pre><code>&lt;script type="text/javascript"&gt; 
    jQuery('#refl').click(function(){
        jQuery('.sliderreflexionar').toggle('slow');
    });
&lt;/script&gt;
</code></pre>

<p>Then the following HTML</p>

<pre><code>&lt;a href="" id="refl" class="button"&gt;&lt;span&gt;VIEW ALL&lt;/span&gt;&lt;/a&gt;
</code></pre>

<p>Then finally this.</p>

<pre><code>&lt;div class="sliderreflexionar" style="display: none;"&gt;
    &lt;a href="#" class="btn-prev"&gt;previous&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>Can anyone see why this isnt functioning?</p>

<p>Cheers,</p>
