Javascript – How to assign radio input value to variable?
I'm working on a form with radio input that has values "yes" and "no". Here's the code: <input type="radio" id="haveread" name="check" value="yes"><label for='haveread' >Yes</label> <input type="radio" id="notread" name="check" value="no"><label for="notread" >No</label> I'd like to retrieve the radio input value of…