here this is my code... here i am generating radio button dynamically using php code...
my problem is how to get which radio button selected on click of addForm() function...
<div class="modal-body">
<div> <input type="radio" name="form" value="Form-Name">Form-Name</div>
<div> <input type="radio" name="form" value="Kalpit-Contact">Kalpit-Contact</div>
<div> <input type="radio" name="form" value="Kalpit-Contact test">Kalpit-Contact test</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" onclick="addForm()">Add Page</button>
</div>
Thanks in advance