摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <style type="text/css"> *{ padding: 0; margin: 0; } li img{ width: 300px; 阅读全文
posted @ 2017-03-07 14:53 菜鸟前行 阅读(335) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type=" 阅读全文
posted @ 2017-01-03 17:31 菜鸟前行 阅读(191) 评论(0) 推荐(0)
摘要: //html内容 <body> <div id="d1"> <input type="checkbox" class="in2">全选 <input type="checkbox"> <input type="checkbox"> <input type="checkbox"> <input typ 阅读全文
posted @ 2016-12-27 13:38 菜鸟前行 阅读(570) 评论(0) 推荐(0)
摘要: <script> var arr=[1,8,6,4,88,22,99,4,6,86,5,58,89,5]; //先使用sort()函数去重 var a=arr.sort(function b (c,d) { return c-d }); console.log(a); //a为去重后的数组 //运用 阅读全文
posted @ 2016-12-15 22:19 菜鸟前行 阅读(1299) 评论(0) 推荐(0)