该文被密码保护。 阅读全文
posted @ 2016-08-18 11:34 Secretmm 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-08-16 18:18 Secretmm 阅读(3) 评论(0) 推荐(0) 编辑
摘要: combine: function () { var html = ''; html += document.getElementById('header-template').innerHTML; html += document.getElementById('html').innerHTML; 阅读全文
posted @ 2016-07-28 10:30 Secretmm 阅读(153) 评论(0) 推荐(0) 编辑
摘要: js代码: data-points: 阅读全文
posted @ 2016-07-22 13:30 Secretmm 阅读(199) 评论(0) 推荐(0) 编辑
摘要: data-plans=[{"id":240,"title":"\u6768\u5e06-\u4f5f\u91d1\u5e7f-\u7269\u7406\u5b66\u4e60\u8ba1\u5212","user_package_id":1,"progress":0}] <div class="in 阅读全文
posted @ 2016-07-22 12:20 Secretmm 阅读(546) 评论(0) 推荐(0) 编辑
摘要: 从上面一段代码可知: 数组命名: var arr= { } $("table").find("td.checked").map(function) {} [选择器选择 table中td的class="checked"的元素,用map的方法进行遍历] map的方法: getAttribute方法与at 阅读全文
posted @ 2016-07-19 12:24 Secretmm 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 获取本周的起止日期 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script> window.onload = function(){ var a = document 阅读全文
posted @ 2016-07-16 16:53 Secretmm 阅读(126) 评论(0) 推荐(0) 编辑
摘要: html代码:<input type="checkbox"id="a1" value="1" class="checkone">css: .checkone{ -webkit-appearance: none;//消除本来的样式 margin: 0%; width:100%; height:100% 阅读全文
posted @ 2016-07-16 14:51 Secretmm 阅读(160) 评论(0) 推荐(0) 编辑
摘要: table的创建 html: <table class="tableone"> <thead> <tr> <th>可上课时间</th> <th>星期一</th> <th>星期二</th> <th>星期三</th> <th>星期四</th> <th>星期五</th> <th>星期六</th> <th> 阅读全文
posted @ 2016-07-16 14:15 Secretmm 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 循环在一个下拉列表框里 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script type="text/javascript" src="js/vue.js"></scrip 阅读全文
posted @ 2016-07-16 14:03 Secretmm 阅读(194) 评论(0) 推荐(0) 编辑