Script
$('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');
}
});
});
HTML
<div class="select-stream">
<div class="second_slide">
<form>
<input type="radio" name="sub_1" id="radio1">
<label>Science</label>
<input type="radio" name="sub_1" id="radio2">
<label>Commerce</label>
<input type="radio" name="sub_1" id="radio3">
<label>Humanities/Arts</label>
<br>
<button id="conbtn">Continous</button>
</form>
</div>
</div>
How to redirect to another page on select using a radio button?