javascript

常用 js 函数
摘要: functionrequest(strName){varstrHref=window.document.location.href;varintPos=strHref.indexOf("?");varstrRight=strHref.substr(intPos+1);vararrTmp=strRight.split("&");for(vari=0;i<arrTmp.length;i+...阅读全文

posted @ 2008-05-06 20:12 Neo0820 阅读(57) | 评论 (0) 编辑

获取html 中的select选中的文本
摘要: varval=document.all.Item.options[document.all.Item.selectedIndex].textvari=document.getElementById('ddlItemDataType').options[document.getElementById('ddlItemDataType').selectedIndex].value;阅读全文

posted @ 2008-03-11 14:27 Neo0820 阅读(1871) | 评论 (0) 编辑

javascript 数组[转]
摘要: new Array()
new Array(len)
new Array([item0,[item1,[item2,...]]]阅读全文

posted @ 2008-03-05 15:28 Neo0820 阅读(252) | 评论 (0) 编辑

javascript中replace与正则表达式
摘要: replace()最简单是简单的字符替换,但同时与正则表达式使用则体现出强大的字符串处理能力.阅读全文

posted @ 2008-02-21 13:48 Neo0820 阅读(846) | 评论 (1) 编辑

操作HTML表格

posted @ 2007-12-05 15:08 Neo0820| 编辑

javascript的URL编码和解码

posted @ 2007-09-12 18:30 Neo0820 阅读(2830) | 评论 (0) 编辑

Window.ShowModalDialog使用手册

posted @ 2007-07-07 15:11 Neo0820 阅读(81) | 评论 (0) 编辑