JSFiddle - React, Tailwind, and code Playground
HTML
<div class="row setup-content" id="step-1">
<div class="col-xs-6 col-md-offset-3">
<div class="col-md-12">
<h3> Step 1</h3>
<label><input type="radio" class="message_pri" id="web" name="web" value="Web">Web</label>
<label><input type="radio" class="message_pri" id="mobile" name="web" value="Mobile">Mobile</label>
<button class="btn btn-primary nextBtn btn-lg pull-right btnnext" type="button" >Next</button>
</div>
JavaScript
$('.message_pri').on('change',function(){
if($('#web').is(':checked')){
alert('web');
}else{
alert('mobile');
}
})