I'm using the following script to show/hide DIV tags via CSS with the selection of checkboxes in a html form:
var $na = jQuery.noConflict(true);
$na(document).ready(function(){
        $na('input[type="checkbox"]').click(function(){
            if($na(this).attr("value")=="one"){
                $na(".one").toggle();
            }
            if($na(this).attr("value")=="two"){
                $na(".two").toggle();
            }
            if($na(this).attr("value")=="three"){
                $na(".three").toggle();
            }
        });
    });
My problem is, that after form submit the event is reversed, meaning a checked checkbox hides, while an unchecked one shows the DIV tag.
Do you have any idea how I can fix this? Is there a better event then click or toggle to do this?
Thanks for your help!
Seb
Oh, and all of this is for a wordpress page template....
 
     
     
    