![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
Jasonwx123
温故而知新
展开
-
js循环实现九九乘法表、素数-软通乐学
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>for循环</title> <script> /* for(起始值;循环终止条件;迭代){ code; } * * */ /*for(var i = 1;i<=10;i++){ console.log("i = " + i)原创 2020-08-29 17:02:46 · 300 阅读 · 0 评论 -
js实现选项卡Tabs-软通乐学
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>选项卡Tabs</title> <style type="text/css"> * { margin: 0; padding: 0; } #nav { width: 100%; } #nav ul { paddin原创 2020-08-29 16:56:50 · 345 阅读 · 0 评论 -
js实现图片画册(选项卡)-软通乐学
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>相册(选项卡)</title> <style type="text/css"> *{ padding:0; maring:0; } ul { list-style:none; } ul li { float:left;原创 2020-08-29 10:20:44 · 418 阅读 · 0 评论 -
js实现全选、反选、取消全选 - 软通乐学
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>点击按钮选择性别和兴趣</title> </head> <body> <input type="button" id="rBtn" value="选择性别"/> <input type="radio" name="sex" checked/>男原创 2020-08-25 14:45:18 · 288 阅读 · 0 评论 -
JS按钮排他功能实现
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>按钮的排他功能</title> </head> <body> <input type="button" value="red" style="color:red"/> <input type="button" value="red" style="colo原创 2020-08-19 13:15:33 · 482 阅读 · 0 评论