- JScript code
function opNewProdPage(index) { window.open('ProdSel.aspx?', '', 'height=500, width=500, top=100,left=300, toolbar = no, menubar = no, scrollbars = no, resizable = no, location = no, status = no, Resizable = no'); return false; }
请问如何把index这个参数传递给子页面??
------解决方案--------------------------------------------------------
'ProdSel.aspx?id=index'
接受页面 Request.QueryString["id"])
------解决方案--------------------------------------------------------
window.open('ProdSel.aspx?index='+ index,...)
------解决方案--------------------------------------------------------
楼上正解,ProdSel.aspx?id=index'