嵌套在gridview中checkbox实现单选功能(js实现)
摘要:一.html控件function SignCheck(cbox){var obj = document.getElementsByTagName("input");for (var i=0; i < obj.length; i++){if(obj[i].type == "checkbox"){obj[i].checked = false;}var sid = cbox.id;document.getElementById(sid).checked = true;}}<asp:GridView ID="GridView1"
阅读全文
posted @
2012-06-14 22:13
yjheimi
阅读(586)
推荐(0)
JS中showModalDialog 详细使用
摘要:JS中showModalDialog 详细使用基本介绍: showModalDialog() (IE 4+ 支持) showModelessDialog() (IE 5+ 支持) window.showModalDialog() 方法用来创建一个显示HTML内容的模态对话框。 window.showModelessDialog() 方法用来创建一个显示HTML内容的非模态对话框。使用方法: vReturnValue = window.showModalDialog(sURL [, vArguments] [,sFeatures]) vReturnValue = window.showModel
阅读全文
posted @
2011-11-20 20:29
yjheimi
阅读(277)
推荐(0)