jquery get input type radio checked





I am trying like below to get the value of a checked radio button but it just keeps giving undefined. I am using Firefox on Ubuntu so I dont know if its some weirdI have a radio button that I would like to be able to enable and disable through jQuery Mobile. Radio button code: Radio Copyright © 2018.