程序帝

导航

随笔分类 -  JavaScript

Explain JavaScript in a simple way!
关键字
摘要:function TagAdd(SelectItem) { if (document.getElementById("txtKeyWord").value.toUpperCase().indexOf(SelectItem.toUpperCase(),0) == -1 ) { document.getElementById("... 阅读全文

posted @ 2010-12-03 08:42 程序帝 阅读(160) 评论(0) 推荐(0)

JS判断GridView控件中的复选框有没有被选中
摘要://JS中判断的方法://判断GridView控件中的复选框有没有被选中的,gdvName:GridView控件名function gdvCheckhasChoiced(gdvName){ // 获取页面中的GridView控件 var gridView = document.getElementById(gdvName); // 遍历GridView中的行 for (var i = 2; i... 阅读全文

posted @ 2010-10-21 13:55 程序帝 阅读(356) 评论(0) 推荐(0)

JS访问GridView中的模板控件
摘要:前台和JS后台代码 阅读全文

posted @ 2010-10-11 21:30 程序帝 阅读(698) 评论(0) 推荐(0)

javascript之光标定位
摘要:var o=txtRemark.createTextRange(); o.move("character",0); o.select(); 阅读全文

posted @ 2010-09-30 14:19 程序帝 阅读(192) 评论(0) 推荐(0)

检验TextBox的输入框是否为整数(javascript)
摘要:比如输入11000,会自动生成(11,000)代码 阅读全文

posted @ 2010-08-26 13:13 程序帝 阅读(292) 评论(0) 推荐(0)