Ok, so I'm using wordpress contact form 7 and I added some radiobuttons there. The code looks like this
[radio radio-681 id:radio1 "1" "2" "3"]
When I'm using dropdowns in that form they look like this
[select* three id:three include_blank class:contactForm "2" "3" "4"]
And I can call that in jquery like this
$('#three').change(function() {
if ($("#three").val() == "3") {
//do something
}
});
Now my question is, how can I check if a radiobutton is checked?
EDIT: Thank you all for your fast response it works now.