Use jquery to display div based on form value selected
<p>I want to display a div if a certain radio button in a form is selected, but hide that div if any other radio button in the form is selected, using jquery.</p>

<p>This is the code I have that isn't working:</p>

<pre><code>$("select").change(function(){
if($("#radio1").is(":selected")){
    $("#grid_9 omega").slideDown("slow");
} else { $("#grid_9 omega").slideUp("slow"); } 
});
</code></pre>

<p>where the id for the radio button I want to have display the div "gid_9 omega" is "radio1".</p>

<p>Thanks for your help!</p>
