如何给Linkbutton 加上属性
如何给Linkbutton 加上属性
在一个DataGrid的某一列中有别 Linkbutton
想给Linkbutton加上属性,点击时,出再确认对话框,如:你确定要打开这个页面吗?
点击"确定"打开页面,点击"取消"则不打开.
<span id="DataGrid__ctl4_labEnter"><a href='#' onclick="javascript:{if(confirm('你确定要打开这个页面吗?')) window.open('Join.aspx?PaperID=46','fullscreen=1,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes');}">进入</a></span>
如上面的,应该怎么写?