title: jquery help: how to get message after selecting radio button and select box
body: <p>if i have selected one radio button and then if i select a value from select box I should get a message.</p>
  
  <p>HTML:</p>
  
  <pre><code>First Class&lt;input name="seat_class" id="a1" type="radio" value="First Class"&gt;
  Second Class &lt;input name="seat_class" id="a2" type="radio" value="Standard Class" /&gt;
  
   &lt;select id="op" name="myname"&gt;
   &lt;option value="none" selected&gt;None&lt;/option&gt;
  &lt;option value="rahul" selected&gt;Rahul&lt;/option&gt;
  &lt;option value="aisha"&gt;aisha&lt;/option&gt;
  &lt;/select&gt; 
  </code></pre>
  
  <p>JavaScript:</p>
  
  <pre><code>$(document).ready(function(){
  
  
  $('#a1').change(function() {
  
    $('#op').change(function(){
        if($(this).val()==rahul)
        {
  alert("Hello yar " + $(this).val());
        }
  });
  
    //alert('foo');
  
  });
  
  $('#a2').change(function() {
    alert('bar');
  
  });
  
  $('#op').change(function(){
  alert("Hello " + $(this).val());
  });
  
  })
  </code></pre>
  
  <p>This code is not working any how.</p>
  
  <p>I want that when i select radio button 1 and rahul i should get a message, and if i select radio button 2 and aisha i should get another message.
  Please help.</p>