09 2019 档案

javascript权威指南第22章高级技巧
摘要:HTML JS 阅读全文

posted @ 2019-09-15 23:44 迎着风追赶 阅读(184) 评论(0) 推荐(0)

javascript权威指南第21章 Ajax和Comet
摘要:function createXHR(){ if(typeof XMLHttpRequest !='undefined'){ return new XMLHttpRequest(); }else if(typeof ActiveXObject!='undefined'){ if(typeof arguments.callee.ActiveXString!='string'){ var versio 阅读全文

posted @ 2019-09-14 20:52 迎着风追赶 阅读(147) 评论(0) 推荐(0)

javascript权威指南第20章 JSON
摘要://20.1 语法 //JAVASCRIPT 是对JSON数据支持的。 //JSON 可以申明三种类型的值 简单值("hello world") 对象({"name":"maosi"}) 数组(["a","b","c"]) //20.1.2 json对象 var person = { "name": "Nicholas", "age": 29 }; person = { "name": " 阅读全文

posted @ 2019-09-14 12:40 迎着风追赶 阅读(132) 评论(0) 推荐(0)

javascript权威指南第17章 错误异常处理
摘要:function TestTryCatch(){ try { } catch (error) { //error 类型如下 Error EvalError RangeError ReferenceError //SyntaxError TypeError URIError if(error instanceof ... 阅读全文

posted @ 2019-09-14 00:10 迎着风追赶 阅读(148) 评论(0) 推荐(0)

javascript权威指南第16章 HTML5脚本编程
摘要:<!DOCTYPE html> <html> <head> <script type="text/javascript" src="HTML5Script.js"></script> <script type="text/javascript" src="EventUtilExt.js"></script> </head> <body> <iframe src="htt://www.wrox. 阅读全文

posted @ 2019-09-13 23:07 迎着风追赶 阅读(179) 评论(0) 推荐(0)

Bootstrap 表单布局示例
摘要:Panel heading --> Email address ... 阅读全文

posted @ 2019-09-10 22:31 迎着风追赶 阅读(449) 评论(0) 推荐(0)

javascript权威指南第15章 使用Canvas绘图
摘要:HTML JS 阅读全文

posted @ 2019-09-10 00:40 迎着风追赶 阅读(225) 评论(0) 推荐(0)

javascript权威指南第14章 表单脚本示例代码
摘要:HTML部分 Form.js 阅读全文

posted @ 2019-09-08 21:53 迎着风追赶 阅读(139) 评论(0) 推荐(0)

javascript权威指南第13章 事件示例代码
摘要:html 部分 js 部分 阅读全文

posted @ 2019-09-08 01:44 迎着风追赶 阅读(243) 评论(0) 推荐(0)

javascript权威指南第12章DOM2 DOM3 示例代码
摘要:<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> Example XHTML page</title> <style type="style/css"> </style> </head> <body> hello world! <!--SVG是一种描述几何图形的标准文档语言--> <svg xmlns="http://www.w3 阅读全文

posted @ 2019-09-07 17:36 迎着风追赶 阅读(169) 评论(0) 推荐(0)

javascript权威指南第11章 DOM扩展
摘要://javascript 权威指南 第三版 第11章 DOM扩展 //取得body元素 var body = document.querySelector("body"); //取得ID为myDiv 元素 var myDiv = document.querySelector("#myDiv"); //取得类为selected 的第一个元素 var selected = document.que... 阅读全文

posted @ 2019-09-06 12:44 迎着风追赶 阅读(128) 评论(0) 推荐(0)

document基本操作 动态脚本-动态样式-创建表格
摘要:var html = document.documentElement; var body = document.body; window.onload = function() { //document.write("Hello world!"); } var fragment = document.createDocumentFragment(); var ul = documen... 阅读全文

posted @ 2019-09-05 15:33 迎着风追赶 阅读(814) 评论(0) 推荐(0)

js原型模式和继承
摘要:function SuperType() { this.property = true; //原型属性 } //基类方法 SuperType.prototype.getSuperValue = function() { return this.property; } function SubType() { this.subproperty = false; //子类属... 阅读全文

posted @ 2019-09-05 10:33 迎着风追赶 阅读(215) 评论(0) 推荐(0)

导航