There is HTML
<div> <input type="radio" id="mode_c1" name="type" checked="" value="0"> <label for="mode_c1"><span></span> По Казахстану</label> </div> <div style="margin-top:10px;"> <input type="radio" id="mode_c2" name="type" value="1"> <label for="mode_c2"><span></span> По городу</label> </div>
How do I know which radiobutton
selected?
What event to hang the listener?