Using jQuery,how do you get the value of a form input?
How do you get the value depends on what type of input it is.
See related:
Radio Buttons
Here is the HTML for the radio buttons group and the "show selection" link:
For radio-buttons, you can use: $('input:radio[name=RadioButtonsName]:checked').val()
In this example, I pass the name of the radio-button group into the function and "alert" the result. You could easily change this to "return" the value or assign the value to a variable.