摘要: 1)只IE支持 <input type=file id=file1 /> <input type=button id=btn2 value="清空File" onclick="clearFile('file1')"; /><script> function clearFile(fileId) { var f = document.getElementById(fileId); f.outerHTML = f.outerHTML; }</script>2)兼容<div id=divfil 阅读全文
posted @ 2011-09-01 12:24 leolui 阅读(467) 评论(0) 推荐(0)
摘要: 引入web用户控件的页面有时会用到web用户控件中的控件值(有点儿绕啊,不知道怎么说呵)在服务器有两种方法:1)string address = web用户控件id.ProjAddress在web用户控件中Page_Load方法外增加属性如下: public string ProjAddress { get { return this.txtProjAddress.Text; } set { t... 阅读全文
posted @ 2009-12-30 16:39 leolui 阅读(326) 评论(0) 推荐(0)