Jquery linking button to specific content
<p>I have a concept similar to that of an accordian. I have a button, when clicked, it slides down a div with a specific ID. I have around 3 of these on the page. How do I write one function which automatically chooses the correct div to slide down?</p>

<p>I've seen plugins use <code>rel</code> attribute to achieve this. In actual Jquery code, how would I accomplish this?</p>

<p>Eg code:</p>

<pre><code>&lt;a rel="#c1"&gt;slide 1&lt;/a&gt;
&lt;a rel="#c2"&gt;slide 2&lt;/a&gt;
&lt;div id="c1"&gt;&lt;/div&gt;
&lt;div id="c2"&gt;&lt;/div&gt;
</code></pre>
