View Single Post
Old 08-19-2005, 11:52 AM   #1 (permalink)
SeetaramaRaju
Registered User
 
Join Date: Aug 2005
Posts: 8
SeetaramaRaju is on a distinguished road
sending parameter in a link

i've a req where i need to enter a value in an input box and then send it as a parameter to the link. but it is not taking it. the following is the code iam using

the following is th code bit
Code:
<body>
  <form  action="/code.do" name="code">
    <table>
    <tr>
    <TD>REGION</TD>
    <TD>
    <input type="text"  name="Region">
    <a href="fipses.do?code=document.code.Region.value&event=Report" onClick="returnParam()">Report</a></TD>
    </tr>
    </table>
  </form>
</body>
my idea is to take 'document.code.Region.value' as parameter. But it is taking
the whole name itself instead of value.

How to accomplish this. Help please

Last edited by redhead; 08-19-2005 at 01:12 PM.
SeetaramaRaju is offline   Reply With Quote