Html+JS实现全选与非全选操作

Original 2019-03-10 15:02:05 188
abstract:看书:<input type="checkbox" name="checkbox" value=1><br>写字:<input type="checkbox" name="checkbox"value=2><br>玩游戏:<input type="chec

看书:<input type="checkbox" name="checkbox" value=1><br>写字:<input type="checkbox" name="checkbox"value=2><br>玩游戏:<input type="checkbox" name="checkbox"value=4><br><button onclick="checkboxed('checkbox')">全选</button><button onclick="uncheckboxed('checkbox')">取消全选</button>


Correcting teacher:韦小宝Correction time:2019-03-10 15:18:14
Teacher's summary:额 代码不完整 请问你的js方法呢 ? onclick中调用的方法呢

Release Notes

Popular Entries