hi friends i m very happy to join webdeveloper's forum
i m trying following
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function abc(regid)
{
myWindow=window.open("","mynewwindow","resizable=no,toolbar=0,left=20,top=20,screenX=20,screenY=20,height=500,width=600,scrollbars=Yes,hotk eys=No,titlebar=No,alwaysraised=Yes");
document.forms["form1"].target = "mynewwindow";
document.forms["form1"].action = "window.asp"
document.forms["form1"].method="post";
document.forms["form1"].submit();
myWindow.focus();
}
//-->
</SCRIPT>
i want to pass
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascriptnclick=abc('<%=rs("id")%>')" ><%= rs("name")%></a>
how can i retrive value of regid in window.asp
(eighter using hidden fields or different)
cheers
gan
i m trying following
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function abc(regid)
{
myWindow=window.open("","mynewwindow","resizable=no,toolbar=0,left=20,top=20,screenX=20,screenY=20,height=500,width=600,scrollbars=Yes,hotk eys=No,titlebar=No,alwaysraised=Yes");
document.forms["form1"].target = "mynewwindow";
document.forms["form1"].action = "window.asp"
document.forms["form1"].method="post";
document.forms["form1"].submit();
myWindow.focus();
}
//-->
</SCRIPT>
i want to pass
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascriptnclick=abc('<%=rs("id")%>')" ><%= rs("name")%></a>
how can i retrive value of regid in window.asp
(eighter using hidden fields or different)
cheers
gan