九门宁生

导航

上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页

2019年8月24日 #

样式操作案例3-隐藏和显示二维码

摘要: common中的内容 阅读全文

posted @ 2019-08-24 16:16 九门宁生 阅读(539) 评论(0) 推荐(0) 编辑

样式操作案例2-开关灯操作

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <input type="button" value="关灯" id="btn"> <script src="common.js"></script& 阅读全文

posted @ 2019-08-24 16:14 九门宁生 阅读(157) 评论(0) 推荐(0) 编辑

样式操作案例1

摘要: common里面的代码 阅读全文

posted @ 2019-08-24 16:13 九门宁生 阅读(169) 评论(0) 推荐(0) 编辑

2019年8月23日 #

全选和反选案例

摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style> * { padding: 0; margin: 0; } .wrap { width: 300px; margin: 100px auto 0; } table { border-collapse: collapse; bor 阅读全文

posted @ 2019-08-23 17:52 九门宁生 阅读(250) 评论(0) 推荐(0) 编辑

文本框的灰字设置

摘要: Document 阅读全文

posted @ 2019-08-23 15:12 九门宁生 阅读(508) 评论(0) 推荐(0) 编辑

获取下拉框元素随机选中

摘要: Document 阅读全文

posted @ 2019-08-23 15:08 九门宁生 阅读(494) 评论(0) 推荐(0) 编辑

检测用户名和密码

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> .bg { background-color: yellow; } </style> </head> <body> <input type="text" id="txtUserName"> < 阅读全文

posted @ 2019-08-23 15:03 九门宁生 阅读(504) 评论(0) 推荐(0) 编辑

获取文本框的值

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <input type="text"><br> <input type="text"><br> <input type="text">< 阅读全文

posted @ 2019-08-23 14:32 九门宁生 阅读(1995) 评论(0) 推荐(0) 编辑

表单元素的属性

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <input type="button" value="按钮" id="btn"> <input type="button" value="设置文本框的 阅读全文

posted @ 2019-08-23 14:30 九门宁生 阅读(300) 评论(0) 推荐(0) 编辑

判断浏览器是否支持某属性

摘要: Document hello 阅读全文

posted @ 2019-08-23 14:20 九门宁生 阅读(366) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页