搜索

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

原创 2019-03-10 15:01:50 298
摘要:看书:<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>


发布手记

热门词条