![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js & ajax
xushouqi
这个作者很懒,什么都没留下…
展开
-
javascript 树
function Node(id, pid, name) { this.index; this.id = id; this.pid = pid; this.name = name; this.isLeaf = true; this.lastSibling = false; this.isClose = true; } fun...2009-07-07 23:22:30 · 79 阅读 · 0 评论 -
javascript测试机
功能:在网页输入框里面输入js代码;调试时按CTR+Enter组合键运行程序。 <style> <!-- .button { width:80px; } --> </style> <script> <!-- function clsNums() { var txt = document.getElementById("...2009-07-17 16:58:38 · 133 阅读 · 0 评论 -
javascript Observer模式
<script> Array.prototype.append = function(obj, nodup) { if(!(nodup && this.contains(obj))) { this[this.length] = obj; } } Array.prototype.contains = function(obj) { return...2009-07-20 10:02:59 · 86 阅读 · 0 评论