工具使用:

随笔分类 -  ajax

Prototype文档解说--$
摘要:$(id | element) -> HTMLElement $((id | element)...) -> [HTMLElement...] If provided with a string, returns the element in... 阅读全文
posted @ 2007-08-08 17:42 tenero 阅读(443) 评论(0) 推荐(0)
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... 阅读全文
posted @ 2007-03-14 10:40 tenero 阅读(280) 评论(0) 推荐(0)
从网络上搜索整理的 IMPORT功能函数
摘要://import a javascript file or style sheet;function $import2(path){ var s,i; var ss=document.getElementsByTagName("script"); for(i=0;i"); } 阅读全文
posted @ 2007-03-13 15:11 tenero 阅读(233) 评论(0) 推荐(0)
用javascript获取屏幕高度和宽度等信息
摘要:网页可见区域宽: document.body.clientWidth网页可见区域高: document.body.clientHeight网页可见区域宽: document.body.offsetWidth (包括边线的宽)网页可见区域高: document.body.offsetHeight (包括边线的高)网页正文全文宽: document.body.scrollWidth网页正文全文高: d... 阅读全文
posted @ 2007-02-08 09:34 tenero 阅读(9409) 评论(0) 推荐(0)
请指教: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... 阅读全文
posted @ 2006-12-08 10:54 tenero 阅读(2102) 评论(2) 推荐(0)