09 2008 档案
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//shift:删除原数组第一项,并返回删除元素的值;如果数组为空则返回undefined var a = [1,2,3,4,5]; var b = a.shift(); //a:[2,3,4,5...
阅读全文
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* 1.判断select选项中 是否存在value="paravalue"的item 2.向select选项中 加入一个item 3.从select选项中 删除一个item 4.修改selec...
阅读全文
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->function getElementPos(elementId) { var ua = navigator.userAgent.toLowerCase(); var isOpera = (...
阅读全文