……

2020年9月16日

摘要: 方法一(建议):if ($("#checkbox-id").get(0).checked) { // do something}感谢豆瓣绿补充:if ($("#checkbox-id")[0].checked) { // do something}方法二(建议):if($('#checkbox-id 阅读全文

posted @ 2020-09-16 18:51 ITOTone 阅读(468) 评论(0) 推荐(0) 编辑

摘要: //生成6位随机数字 System.out.println((int)((Math.random()*9+1)*100000)); //生成5位随机数字 System.out.println((int)((Math.random()*9+1)*10000)); //生成4位随机数字 System.o 阅读全文

posted @ 2020-09-16 18:48 ITOTone 阅读(1123) 评论(0) 推荐(0) 编辑