<html> <head> <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".fi ...
分类:
其他好文 时间:
2020-01-01 20:27:59
阅读次数:
65
<input type="button" onclick="go()" value="点击"> <h3 id="chu"></h3> <script> var d = [3, 9, 4, 2, 6, 8, 7, 1, 99, 9, 9, 9]; function xuanze(arr) { var ...
分类:
编程语言 时间:
2020-01-01 19:06:10
阅读次数:
72
效果图: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Document</title> <script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.js"></scrip ...
分类:
Web程序 时间:
2020-01-01 18:49:12
阅读次数:
96
1、使用document.write方式输出引入css的link标签 在调用文件的顶部加入下例代码 <script> document.write('<link rel="stylesheet" href="main.css">'); </script> 2、使用createElement方法动态创 ...
分类:
Web程序 时间:
2020-01-01 16:56:34
阅读次数:
110
一、location.href常见的几种形式 self.location.href;//当前页面打开URL页面 window.location.href;//当前页面打开URL页面 this.location.href;//当前页面打开URL页面 location.href;// 当前页面打开URL ...
题目概览 对``标签的enctype属性的理解 CSS的优先级是如何计算的 为什么 JavaScript 中 0.1 0.2 不等于 0.3 ? 题目解答 对 enctype`属性的理解 的定义和用法: 属性规定在发送到服务器之前应该如何对表单数据进行编码。默认地,表单数据会编码为 " "。就是说, ...
分类:
其他好文 时间:
2020-01-01 10:06:16
阅读次数:
60
% 导言区 全局设置 \documentclass [10pt]{article} % book,reeport,letter \usepackage{ctex} %引入中文宏包 \newcommand\degree{^\circ} %定义一个新命令 degree \newcommand{\myfo ...
分类:
其他好文 时间:
2019-12-31 21:31:22
阅读次数:
93
3.1 JavaScript 是什么 JavaScript 是世界上最流行的语言之一,是一种运行在客户端的脚本语言 (Script 是脚本的意思) 脚本语言:不需要编译,运行过程中由 js 解释器( js 引擎)逐行来进行解释并执行 现在也可以基于 Node.js 技术进行服务器端编程 3.2 Ja ...
分类:
编程语言 时间:
2019-12-31 21:27:04
阅读次数:
139
两个重要的javascript语句: top.result.document.location='result.html?data=' + data; --------url传参长度有限制。。。。 和 window.top.frames['result'].document.getElementBy ...
分类:
其他好文 时间:
2019-12-31 21:20:31
阅读次数:
71
1.引入 <link rel="stylesheet" href="../layui/css/layui.css"> <script src="../layui/layui.js"></script> 2.页面代码 <div class="layui-card-body"> <table class ...
分类:
其他好文 时间:
2019-12-31 14:45:43
阅读次数:
321