I have this line of code to load the page:
if ($("input").is(':checked')) {
and it works fine when the switch is set. However, I want the opposite. Something along the lines
if ($("input").not(.is(':checked'))) {
so the my if statement runs when none of the radio blocks are selected. What is the best way to do this?
jquery
kd7iwp Dec 16 '08 at 19:08 2008-12-16 19:08
source share