title: Select one of the radio buttons and click Submit which redirects other url
body: <p><em>Script</em></p>
  
  <pre><code>$('document').ready(function() {
    $('#conbtn').click(function() {
      if ($('#radio1').is(':checked') $('#radio1').is(':checked') $('#radio1').is(':checked')) {
  
        $(location).attr('href', 'career-central-choice.html');
      } else {
  
        alert('Please Select One Stream');
  
      }
    });
  });
  </code></pre>
  
  <p><em>HTML</em></p>
  
  <pre><code>&lt;div class="select-stream"&gt;
      &lt;div class="second_slide"&gt;
          &lt;form&gt;
              &lt;input type="radio" name="sub_1" id="radio1"&gt;
              &lt;label&gt;Science&lt;/label&gt;
              &lt;input type="radio" name="sub_1" id="radio2"&gt;
              &lt;label&gt;Commerce&lt;/label&gt;
              &lt;input type="radio" name="sub_1" id="radio3"&gt;
              &lt;label&gt;Humanities/Arts&lt;/label&gt;
              &lt;br&gt;
              &lt;button id="conbtn"&gt;Continous&lt;/button&gt;
          &lt;/form&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How to redirect to another page <em>on select</em> using a radio button?</p>