在android中咋样在点击checkbox后,跳出页面.返回页面的时候checkbox还选择当前的

2025-04-09 16:22:56
推荐回答(1个)
回答1:

不知道你的项目中有没有引入jQuery,so,写了个基本的方式,以下可能某些单次有错: input type="submit" 改成 input type="button" function createtword(){ var chkBoxs = document.getElementById("checkbox name"); boolean haveCheck = false; for(var i=0;i