Using jQuery to show an alert based on radio button selection
<p>I'm trying to use jQuery to display an alert based on the radio button selected by the user. So if the user selects, for example, radiobutton1 then a message for that particular radio button will appear.</p>

<p>This is the form I have so far;</p>

<pre><code>    &lt;form&gt;
        &lt;input type="radio" name="campus" value="Campus 1"&gt; Campus 1 &lt;/br&gt;
        &lt;input type="radio" name="campus" value="Campus 2"&gt; Campus 2 &lt;/br&gt;
        &lt;input type="radio" name="campus" value="Campus 3"&gt; Campus 3 &lt;/br&gt;
        &lt;input type="radio" name="campus" value="Campus 4"&gt; Campus 4 &lt;/br&gt;
    &lt;/form&gt;
    &lt;input type='button' value='Display Selected' id='click'&gt;   
</code></pre>

<p>I know how to make an alert that shows the radio button value but unable to display a particular message based on the selection. Advanced thanks for any assistance!</p>
