Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send value of text in a form

Status
Not open for further replies.

LKB6

MIS
Mar 20, 2009
23
US
I have the following code:
<form name="form1" method="post" action="process.asp?Search=XXXXX" >
<table>
<tr>
<td><input type="text" name="textfield2"></td>
<td><input type="submit" name="Submit" value="Submit"></td>
</tr>
</table>
</form>

Is there a way to replace the XXXXX in Search= XXXXX by the value that is entered in the text box?

Cannot find a way, if there is.
Thnaks in advance.


 
Code:
<form name="form1" method="[COLOR=red]get[/color]" action="process.asp" >
    <table>
      <tr>
           <td><input type="text" name="[COLOR=red]Search[/color]"></td>
           <td><input type="submit" name="Submit" value="Submit"></td>
       </tr>
     </table>
 </form>

--------
GOOGLE is a great resource to find answers to questions like "how do i..."

If you don't know exaclty what you want to do or what to search on, try Google Suggest: --------
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javasc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top