genesis.mksls Convert an installation file/script to an SLS file. Currently supports , , and . CLI Examples: salt genesis.mksls kickstart /path/to/kic ...
分类:
其他好文 时间:
2020-03-28 22:00:07
阅读次数:
81
 ``` 购物车 课程: 价钱: 添加商品 课程名称:{{list.text}} 价格:{{list.price}}... ...
分类:
其他好文 时间:
2020-03-28 19:59:41
阅读次数:
54
1.引入jar包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> 2.创建配置类 package com.c ...
分类:
编程语言 时间:
2020-03-28 19:42:58
阅读次数:
101
innerHTML innerText属性(在设置的时候,innerhtml可以解析标签,可是innerText不可以解析标签) value属性(适用于表单元素) <!DOCTYPE html> <html> <head> </head> <body> <div id="box2"> <p>这里是一 ...
分类:
其他好文 时间:
2020-03-28 13:36:54
阅读次数:
63
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> </head> <body> <script> // toFixed方法 // 1.作用:对数据进行小数位数的保留 // 2.格式:数据.toFixed(小数位数) // 3.返回值:返回值是字 ...
分类:
其他好文 时间:
2020-03-28 13:17:24
阅读次数:
97
<!DOCTYPE html> <html> <head> </head> <body> <div id = "box" name = "bird"> </div> <script> // 获取属性节点的方式:利用元素节点的attribute属性来获取到所有的属性节点,使用下标获取某个属性节点 va ...
分类:
其他好文 时间:
2020-03-28 13:14:44
阅读次数:
70
元素节点原有的属性:id class title style dir等等 <!DOCTYPE html> <html> <head> </head> <body> <div id="box" name="bird" title="其不知道啊" a="world"> </div> <script> v ...
分类:
其他好文 时间:
2020-03-28 13:10:53
阅读次数:
65
<html> <head> </head> <body> <script> //1 通过标签的id属性获取元素 document.getElementsById(参数) // 注意: // 1)参数不需要加# // 2)id值相同时只能获取第一个 // 3)参数区分大小写 // 2 通过标签名来获取 ...
分类:
其他好文 时间:
2020-03-28 13:06:20
阅读次数:
62
<!DOCTYPE html> <html> <head> <meta charset="UTF-8";> </head> <body> <div>我是第一个</div> <div>我是第2个</div> <div>我是第3个</div> <div>我是第4个</div> <div>我是第5个</d ...
分类:
其他好文 时间:
2020-03-28 13:01:22
阅读次数:
65
方法1: <html> <head> <title></title> <script language="javascript" type="text/javascript"> window.onload = function() { var div = document.getElementByI ...
分类:
其他好文 时间:
2020-03-28 00:47:31
阅读次数:
315