I have a form with several fields, and I use the following to get the value of the fields
$("input[name='numbers']").val()
However this doesn’t work for radio options, it just comes back with undefined. How should I get the value of a selected radio option?
The :input selector can be used to input elements.