Well, here's an easy way, but it might not work for you..
Add IDs to the form and its elements equal to the names. Then make your net_pop() function like this:
<script language=javascript>
function net_pop()
{
var netPop = window.open("about
:blank","netPop");
netPop.document.write(document.forms.authen.loginn ame.value + "<br>" + document.forms.password.value);
}
</script>
This is just a simple example of passing the values. If you wanted to pass the values to a .asp or .php page in the popup, just make parameters in the location of the popup like this:
<script language=javascript>
function net_pop()
{
var netPop = window.open("readform.php?username="+document.form s.authen.username.value+"&password="+document.form s.authen.password.value,"netPop");
}
</script>
Let me know if these solutions don't work.
Snib
P2P Member
<><