jquery upward dom traversal
<p>onI have the following html structure:</p>

<pre><code>&lt;div&gt;
&lt;ul&gt;
    &lt;li class="gravity-form"&gt;&lt;/li&gt;
    &lt;li class="gravity-form-divider"&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;a href="#" class="btn enquire"&gt;&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>With a click on 'a.btn.enquire' I'd like the following to happen; invoke slideToggleClass on li.gravity-form followed by ToggleClass on li.gravity-form-divider. Something along the lines of:</p>

<pre><code>$('a.btn.enquire').bind('click' , function(event){
$(this).prevUntil('ul').next(li.gravity-form').slideToggle();
return false;
)};
</code></pre>

<p>Any thgoughts how to go about this?</p>

<p>Many thanks</p>
