Variable not passing

T

tshad

I have a simple asp page that doesn't seem to pass the contents of my text
box. It does show the variable name, but no value.

**********************************************
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<form method="GET" action="atestbytfs.asp">
<table width="90%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><div align="right">Referral ID:&nbsp;</div></td>
<td>&nbsp;<input type="text" id="referralID"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" value="Submit"></td>
</tr>
</table>
</form>
</body>
</html>
**************************************************************

After I put something in the box and press the submit button, I get the
following when it calls a page:

http://www.interez.com/atestbytfs.asp?

No value.

What am I missing?

Thanks,

Tom.
 
R

Ray Costanzo [MVP]

You get a seeq.com search page? Interesting. ;]

Give your textbox a NAME. ID isn't enough.
<input name="nameHere" type="text......

Ray at work
 
T

tshad

Ray Costanzo said:
You get a seeq.com search page? Interesting. ;]

Give your textbox a NAME. ID isn't enough.
<input name="nameHere" type="text......

That was it.

Thanks,

Tom.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top