随笔分类 -  Javascript

To set the div position(used for DataGrid Imeplate Column with DropDownList item)
摘要:1 var TextTemp; 2 var ValueTemp; 3 var ddlTemp; 4 function ShowDropDownList(FillText,FillValue,ddl,ddldiv,parentdiv) 5 {67varctlFillText=docume... 阅读全文

posted @ 2007-03-30 16:17 广思 阅读(741) 评论(0) 推荐(0)

Get the parameter from the URL
摘要:1 2 sUrl = location.search; 3 sIndex = sUrl.indexOf( " ?url= " ); 4 if (sIndex != - 1 ) 5 {6sUrl=sUrl.substring(sIndex+5,sUrl.length);7} 8 ... 阅读全文

posted @ 2007-02-01 16:12 广思 阅读(346) 评论(0) 推荐(0)

Set the value for lable use javascript
摘要:Set the value for lable use javascript After compiled, the server control "lable" will compile to the HTML control "span", in javascript, to set it's ... 阅读全文

posted @ 2007-01-12 23:58 广思 阅读(508) 评论(2) 推荐(0)

set the control hidden use javascript
摘要:set the control hidden use javascriptmethod 1: 1 document.all[ " PanelSMS " ].style.visibility = " hidden " 2 document.all[ " PanelSMS " ].style.vi... 阅读全文

posted @ 2007-01-12 23:57 广思 阅读(420) 评论(2) 推荐(0)

在javascript中调用后台代码。
摘要:网上搜寻一方法,可以在前台的javascript中调用后台函数。把需要调用的函数写在服务器控件里,然后在javascript中加入 document.getElementById( " 你控件ID " ).click(); 不知道还有没有更好的办法! 阅读全文

posted @ 2006-08-14 10:52 广思 阅读(820) 评论(0) 推荐(0)

导航