SyntaxFix
Write A Post
Hire A Developer
Questions
I think this is a simple example, how to check if a radio in a group of radios was checked.
if($('input[name=html_elements]:checked').length){ //a radio button was checked }else{ //there was no radio button checked }