Variable not passing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tshad

    Variable not passing

    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="VB SCRIPT" 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>Untitl ed Document</title>
    </head>

    <body>
    <form method="GET" action="atestby tfs.asp">
    <table width="90%" border="1" cellspacing="0" cellpadding="0" >
    <tr>
    <td width="50%"><di v align="right">R eferral ID:&nbsp;</div></td>
    <td>&nbsp;<inpu t 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:



    No value.

    What am I missing?

    Thanks,

    Tom.



  • Ray Costanzo [MVP]

    #2
    Re: Variable not passing

    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

    "tshad" <tscheiderich@f tsolutions.com> wrote in message
    news:uzxoKvBzEH A.908@TK2MSFTNG P11.phx.gbl...[color=blue]
    >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="VB SCRIPT" 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>Untitl ed Document</title>
    > </head>
    >
    > <body>
    > <form method="GET" action="atestby tfs.asp">
    > <table width="90%" border="1" cellspacing="0" cellpadding="0" >
    > <tr>
    > <td width="50%"><di v align="right">R eferral ID:&nbsp;</div></td>
    > <td>&nbsp;<inpu t 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.
    >
    >
    >[/color]


    Comment

    • tshad

      #3
      Re: Variable not passing

      "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
      message news:%23Dr4w0Bz EHA.3708@TK2MSF TNGP14.phx.gbl. ..[color=blue]
      > You get a seeq.com search page? Interesting. ;]
      >
      > Give your textbox a NAME. ID isn't enough.
      > <input name="nameHere" type="text..... .[/color]

      That was it.

      Thanks,

      Tom.[color=blue]
      >
      > Ray at work
      >
      > "tshad" <tscheiderich@f tsolutions.com> wrote in message
      > news:uzxoKvBzEH A.908@TK2MSFTNG P11.phx.gbl...[color=green]
      >>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="VB SCRIPT" 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>Untitl ed Document</title>
      >> </head>
      >>
      >> <body>
      >> <form method="GET" action="atestby tfs.asp">
      >> <table width="90%" border="1" cellspacing="0" cellpadding="0" >
      >> <tr>
      >> <td width="50%"><di v align="right">R eferral ID:&nbsp;</div></td>
      >> <td>&nbsp;<inpu t 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.
      >>
      >>
      >>[/color]
      >
      >[/color]


      Comment

      Working...