<p>I want to do this, but haven't figured it quite out yet...</p>

<pre><code>    $(document).ready(function() {
        $("a.whateverclass").click(function() {
            $("div.whateverclass").show();
            return false;
        });
</code></pre>

<p>Basically when a link with a certain class is clicked all divs with that class are shown. The classes can be any class. And I won't know the name(s) of the classes in the application.js file so I need to match equal classes.</p>

```
```
$("a").click(function() {
        $("div." + $(this).attr('class')).show();
});
```
```