Hi i tried to use the group radio button and defined as follow,
how can i get the value of the radio button (for which i value i got) ?
Thanks for any advice.
Regards,
Kalmen
Hi i tried to use the group radio button and defined as follow,
how can i get the value of the radio button (for which i value i got) ?
Thanks for any advice.
Regards,
Kalmen
This will give a value of currently checked radio/checkbox
$('input[name="demo-radio-start"]:checked').val()
Hi , thanks for the advice,
i did lots of digging and test it , i found the below, works for me too,
$('input[type="radio"]').on('change click', function(el){
console.log($(el.currentTarget).val());
console.log(el.target.dataset);
});
Thanks and appreciate your time.