本章主要回答两个问题: (1)为什么需要有JavaScript(JS有什么作用)? (2)怎么用? HTML负责呈现什么内容,CSS负责以何种方式来呈现。 HTML+CSS:实现了静态页面。 实际上,我们更多的页面的要求是动态的,这就需要用到js了,通过js操纵HTML和css <!DOCTYPE ...
分类:
编程语言 时间:
2021-06-05 17:54:07
阅读次数:
0
Prerequisites: Windows 10 Hyper-V Virtual machine parameters: Memory 2GB Hard Drive 20GB Provisioning: Launch Hyper-V, click on new > Virtual Machine ...
分类:
系统相关 时间:
2021-06-05 17:49:23
阅读次数:
0
@# ???请>>点>>此>>访>>问>>你懂的 #include <iostream>#include "boost/function.hpp" bool some_func(int i,double d) { return i>d;} int main() { boost::function<b ...
分类:
其他好文 时间:
2021-06-05 17:47:38
阅读次数:
0
一、数组扁平化 有数组:let arr = [[2, 3, 1],[4, 3, 6, 5],[6, 2, 4, 9, [4, 11, 12, [12, 13, [10], 15]]], 20]1. reduce //若值为数组则递归遍历,否则concat function flatten(arr) ...
分类:
编程语言 时间:
2021-06-05 17:40:20
阅读次数:
0
WPF public void DataGridBinDingTime(){ List<string> times = new List<string>(); string time = _startTime.SelectedValue.ToString(); string[] arr = time ...
分类:
其他好文 时间:
2021-06-05 17:34:23
阅读次数:
0
像如上这种报错,DEBUG发现是因为文件后缀名写的是XLS,而程序给的是XLSX格式的的,而当ENDROW给10000时系统就会读取10000行数据,然后看数据并没有10000行就会出现如上DUMP,如果把文件后缀名改成与程序一致的XLSX,那么久没问题了 ...
分类:
其他好文 时间:
2021-06-04 19:55:11
阅读次数:
0
dedecms在首页调用栏目(公司介绍)内容,一般通过代码: {dede:sql sql='Select content,substring(content,1,300) as content from dede_arctype where id=1'}[field:content function ...
分类:
其他好文 时间:
2021-06-04 19:42:24
阅读次数:
0
ES模块的导入 通过exports {num,function} 这个是导出变量或者是函数 ES导入模块 通过import {num,function} from 'aaa.js' 这个是模块的导入 ##这导入导出很固定,导入导出的名字必须一样 还有一种是通过exports default 这种是不 ...
分类:
其他好文 时间:
2021-06-04 19:29:21
阅读次数:
0
广义javascript ECMAScript + DOM + BOM DOM0 DOM1 DOM2 狭义javascript ECMAScript ES6 ES5 ES3 1. html事件 <div onclik="fn()"></div> function fn() { alert("hell ...
分类:
其他好文 时间:
2021-06-04 19:23:51
阅读次数:
0
//获取时间 var time = new Date(); //获取年份 var year = time.getFullYear(); //获取月份 从0开始算 var month = time.getMonth()+1; //获取月份里的第几天 var date = time.getDate(); ...
分类:
Web程序 时间:
2021-06-04 19:09:54
阅读次数:
0