JSFiddle - React, Tailwind, and code Playground

HTML

<div class="show_stores" id="show_store_1" >
<input name="store_id" type="radio"  id="store_1" value="1">
<label for="store_1">
		<b>Head Office  </b>  		
</label>
</div>


<div class="show_stores" id="show_store_2" >
<input name="store_id" type="radio" id="store_2" value="2" checked='checked'>
<label for="store_2">
		<b>Warehouse  </b>  		
</label>

</div>


<div class="show_stores" id="show_store_3" >
<input name="store_id" type="radio"   id="store_3" value="3">
<label for="store_3">
		<b>City Store </b>  		
</label>

</div>

JavaScript

store_id = $("input[type='radio'][name='store_id']:checked").val();
alert("selected store id is "+store_id;