62,268
社区成员
发帖
与我相关
我的任务
分享
<input id="bt_Lpc" type="button"
onclick="getRValue('lot_no','Jpc.aspx?id=<%= id.Value %>&name=<%= name.Text %> ');" style="width: 24px" />
function getRValue(AcceptValue,PageSelect)
{
document.getElementById(AcceptValue).value = ""
var sUrl=window.showModalDialog(PageSelect,'','scroll:0;status:0;help:0;dialog;Width=500px;dialogHeight=500px');
if (typeof sUrl == "undefined")
sUrl = '' ;
var x = document.getElementById(AcceptValue);
x.focus();
if(document.selection)
document.selection.createRange().text = sUrl;
}