随笔分类 - ajax
Prototype文档解说--$
摘要:$(id | element) -> HTMLElement $((id | element)...) -> [HTMLElement...] If provided with a string, returns the element in...
阅读全文
nodeType
摘要:辨识节点的DOM 型态。 基本语法 numNodeType = xmlDocNode.nodeType ; 说 明 此属性只读且传回一个数值。 有效的数值符合以下的型别: 1-ELEMENT 2-ATTRIBUTE 3-TEXT 4-CDATA 5-ENTITY REFERENCE 6-ENTITY 7-PI (processing instruction) 8-COMMENT 9-DO...
阅读全文
从网络上搜索整理的 IMPORT功能函数
摘要://import a javascript file or style sheet;function $import2(path){ var s,i; var ss=document.getElementsByTagName("script"); for(i=0;i"); }
阅读全文
用javascript获取屏幕高度和宽度等信息
摘要:网页可见区域宽: document.body.clientWidth网页可见区域高: document.body.clientHeight网页可见区域宽: document.body.offsetWidth (包括边线的宽)网页可见区域高: document.body.offsetHeight (包括边线的高)网页正文全文宽: document.body.scrollWidth网页正文全文高: d...
阅读全文
请指教:prototype.js ajax里面onSuccess 里面调用 公有成员函数的问题
摘要:1var Person = Class.create(); 2Person.prototype ={ 3 initialize:function(){ 4 this.name="BOY"; 5 }, 6 GetName:function(){ 7 alert(this.name); 8 }, 9 AjaxQuestion:functi...
阅读全文
浙公网安备 33010602011771号