i have made a so called mailing list option
where the user enters their email, and when they hit ENTER
i want to add the email addy to a table (just need help with how to have the content sent to another asp VIA enter)
thank you
Printable View
i have made a so called mailing list option
where the user enters their email, and when they hit ENTER
i want to add the email addy to a table (just need help with how to have the content sent to another asp VIA enter)
thank you
That's sounds easy enough:
First Page (called Email.asp)
Second Page (called Test.asp)Code:<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<SCRIPT language=JavaScript>
function CheckEnter()
{
if (window.event.keyCode == 13)
{
location.href="Test.asp?txtEmail=" + txtEmail.value;
}
}
</SCRIPT>
<BODY>
<P> </P>
<INPUT name=txtEmail OnKeyPress="CheckEnter()">
</BODY>
</HTML>
Code:<HTML>
<BODY>
<%Response.Write "Email from textbox " & Request.QueryString("txtEmail")%>
</BODY>
</HTML>