随笔分类 -  JavaScript

about some knowlege of javascript
--js网页计时
摘要:<script language="javascript">function Year_Month(){var now = new Date();var yy = now.getYear();var mm = now.getMonth()+1;var cl = '<font color="black">';if (now.getDay() == 0) cl = '<f... 阅读全文

posted @ 2009-06-10 08:51 simhare 阅读(384) 评论(0) 推荐(0)

match of javascript
摘要:match 方法 使用正则表达式模式对字符串执行查找,并将包含查找的结果作为数组返回。\\ stringObj.match(rgExp) 参数\\ stringObj 必选项。对其进行查找的 String 对象或字符串文字。 rgExp 必选项。为包含正则表达式模式和可用标志的正则表达式对象。也可以是包含正则表达式模式和可用标志的变量名或字符串文字。 说明\\ 如果 match ... 阅读全文

posted @ 2008-08-26 13:37 simhare 阅读(271) 评论(0) 推荐(0)

js 常用函数
摘要:js常用函数 阅读全文

posted @ 2008-08-23 02:22 simhare 阅读(233) 评论(0) 推荐(0)

js中关闭窗口而不给出提示
摘要:js中关闭窗口而不给出提示 阅读全文

posted @ 2008-04-02 10:47 simhare 阅读(1351) 评论(2) 推荐(0)

js各种脚本
摘要:js脚本 阅读全文

posted @ 2007-12-14 16:04 simhare

js各种脚本
摘要:js菜单 阅读全文

posted @ 2007-12-14 16:03 simhare

Javascript事件汇总
摘要:抄的:Javascript事件汇总 事件源对象 event.srcElement.tagName event.srcElement.type 捕获释放 event.srcElement.setCapture(); event.srcElement.releaseCapture(); 事件按键 event.keyCode event.shiftKey event.altKey event... 阅读全文

posted @ 2007-11-29 21:39 simhare

右下角探出广告
摘要:右下角探出广告 阅读全文

posted @ 2007-11-22 13:12 simhare

final finally finalize
摘要:final 阅读全文

posted @ 2007-11-13 10:35 simhare

js radiobutton
摘要:js radiobutton 阅读全文

posted @ 2007-11-12 17:39 simhare

js时间比较
摘要:js时间比较 阅读全文

posted @ 2007-11-12 09:30 simhare

html dropdownlist 取值赋给Label,关键是innerHTML
摘要:html dropdownlist 取值赋给Label,关键是innerHTML 阅读全文

posted @ 2007-11-09 13:18 simhare

js checkbox
摘要:js checkbox 阅读全文

posted @ 2007-10-31 09:09 simhare 阅读(373) 评论(0) 推荐(0)

showModalDialog关闭后进if(!Page.IsPostBack)
摘要:showModalDialog关闭后进if(!Page.IsPostBack) 阅读全文

posted @ 2007-10-30 17:26 simhare 阅读(505) 评论(0) 推荐(0)

js 数字相加 parseInt
摘要:js 数字相加 parseInt 阅读全文

posted @ 2007-10-30 14:57 simhare 阅读(2947) 评论(1) 推荐(0)

文本框只允许输入数字
摘要:文本框只允许输入数字 阅读全文

posted @ 2007-10-30 11:14 simhare 阅读(349) 评论(0) 推荐(0)

js的replace函数
摘要:js的replace函数 阅读全文

posted @ 2007-10-19 09:35 simhare 阅读(3100) 评论(0) 推荐(0)

response_write的alert的两种换行方法
摘要:response_write的alert的两种换行方法 阅读全文

posted @ 2007-10-17 16:55 simhare 阅读(2561) 评论(0) 推荐(1)

1.showModalDialog返回值给父窗口 2.winow.open开的窗口赋值给父窗口
摘要:子窗口: function SelectIdInfo(rowId) { window.dialogArguments[0].document.getElementById(window.dialogArguments[1]).value =Grid1.GetRowFromClientId(rowId).GetMember('INVTITLE_NAM... 阅读全文

posted @ 2007-10-16 18:53 simhare 阅读(3919) 评论(0) 推荐(0)

js 取得CheckBoxList的选中项的值
摘要:js 取得CheckBoxList的选中项的值 阅读全文

posted @ 2007-10-16 14:33 simhare 阅读(1943) 评论(1) 推荐(0)

导航