saving checkbox state on reload

后端 未结 3 1799
孤独总比滥情好
孤独总比滥情好 2020-12-06 13:12

how do i save checkbox state through sessions? i\'m using this jquery code to toggle the options:

$(\'div.check input:checkbox\').bind(\'change\',function(){         


        
3条回答
  •  死守一世寂寞
    2020-12-06 13:55

    There is a way, but you need to make some change- off course it will work if you submit through form or JQuery with same parameter name (here name_txt and ref_txt).

    give checkbox input a name

    
        

    />

    />

提交回复
热议问题