saving checkbox state on reload

后端 未结 3 1797
孤独总比滥情好
孤独总比滥情好 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条回答
  •  萌比男神i
    2020-12-06 13:47

    If it's not something that you need to save in the database I recommend using cookies instead of sessions. You can use the easy jQuery cookies plugin.

提交回复
热议问题