document.getelementbyid value in javascript for radio code example
Example: document get element by id radio button
var selectedOption = $("input:radio[name=option]:checked").val()
var selectedOption = $("input:radio[name=option]:checked").val()