上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 24 下一页
摘要: 一. 锚对象(Anchor Object) 二.区域对象 三.基础对象 四.IFrame对象 五.图像对象 一. 锚对象(Anchor Object) 1.1 查找链接的href属性值 <!DOCTYPE html> <html> <body> <p><a id="myAnchor" href="h 阅读全文
posted @ 2022-01-28 17:59 漫漫长路</> 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 一. 按钮对象 二.表单对象 三.选项和选择对象 一. 按钮对象 1.1 禁用按钮 <!DOCTYPE html> <html> <body> <form> <input type="button" id="btn01" value="OK"> </form> <p>Click the "Disab 阅读全文
posted @ 2022-01-27 18:01 漫漫长路</> 阅读(680) 评论(0) 推荐(0) 编辑
摘要: 一. 文档对象 1.1 显示文档中所有cookie的名称/值 <!DOCTYPE html> <html> <body> <p id="demo">Click the button to display the cookies associated with this document.</p> < 阅读全文
posted @ 2022-01-26 17:25 漫漫长路</> 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 目录: 一. JavaScript能做什么? 二. 在哪里插入JavaScript 三. JavaScript输出 四. JavaScript语法 五. JavaScript语句 六. JavaScript注释 七. JavaScript变量 八. JavaScript算术 九. JavaScrip 阅读全文
posted @ 2022-01-24 11:00 漫漫长路</> 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 一. 作用域 var 可以是全局变量,在任何文件都可以用 //1. var a = 12345; // 全局变量 ,具备全局作用域 b=123; // 这个是作为window的属性在使用,具备全局作用域 //2. 说明 function test(){ ab = 45 } test() //没有使用 阅读全文
posted @ 2022-01-23 14:22 漫漫长路</> 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 自动打包出现这个,这不是我门预期的 const path = require('path') module.exports = { //编译模式 mode:'development', //development production entry:path.join(__dirname,'./src 阅读全文
posted @ 2021-12-26 13:39 漫漫长路</> 阅读(693) 评论(1) 推荐(0) 编辑
摘要: 效果: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content 阅读全文
posted @ 2021-12-21 16:36 漫漫长路</> 阅读(194) 评论(0) 推荐(0) 编辑
摘要: JQuery $(window).resize(function () { //当浏览器大小变化时 alert($(window).height()); //浏览器时下窗口可视区域高度 alert($(document).height()); //浏览器时下窗口文档的高度 alert($(docum 阅读全文
posted @ 2021-12-20 14:35 漫漫长路</> 阅读(2475) 评论(0) 推荐(0) 编辑
摘要: 在线C环境:https://clin.icourse163.org/ 1. 函数原型 2.如果不知道 也就是把要调⽤的函数放到 下⾯了 旧标准会假设你所调⽤的函 数所有的参数都是int,返回 也是int 如果恰好不对... 3. 函数原型 函数头,以分号“;”结尾,就构成了函数的原型 • 函数原型的 阅读全文
posted @ 2021-12-16 09:46 漫漫长路</> 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 在线C环境:https://clin.icourse163.org/ 1. 求和 2. 什么是函数? 函数是⼀块代码,接收零个或多个参数, 做⼀件事情,并返回零个或⼀个值 可以先想像成数学中的函数: y = f(x) 3.函数定义 4.调⽤函数 函数名(参数值); ()起到了表⽰函数调⽤的重要作⽤ 阅读全文
posted @ 2021-12-16 09:26 漫漫长路</> 阅读(36) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 24 下一页