How to use String.Format to get multiple value from radio button?
How to use String.Format to get multiple value from radioĀ button?
For getting more than one value let us say āIDā and āContactā from single radio button on change event you have to write code like :
<input type=āradioā class=āradioā name=āRadioButtonā value=ā@String.Format(ā{0}|{1}ā,ID,Contactā />
Now for getting these value using jquery :
<script>
$(āinput[name=ReleaseID]:radioā).change(function () {
var arm = $(this).val();
var arr = arm.split(ā|ā);
var ID =ā¦
View On WordPress
















