Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

help with URL parameters

2 views
Skip to first unread message

ig.m...@gmail.com

unread,
Mar 23, 2007, 12:35:57 PM3/23/07
to
Is it possible to put a variable in parameter for a URL?

I'm looking to have a page with an input box and a link. When someone
puts in a value in the input box and clicks the link it will take the
value and pass it through the link to an asp page.


example:


Employee Name <input type="text" name="Tname" size="20">
<a href="emp_info.asp?e_num= Tname.value">Employee Info </a>

McKirahan

unread,
Mar 23, 2007, 8:58:11 PM3/23/07
to
<ig.m...@gmail.com> wrote in message
news:1174667756.0...@e65g2000hsc.googlegroups.com...

Will this help?

<form action="emp_info.asp" method="get">


Employee Name <input type="text" name="Tname" size="20">

<input type="submit" value="Submit Employee Name">
</form>

Will generate the following (partial) URL when Submit is clicked:
emp_info.asp?Tname=

Of course, there's no error checking for a blank name.

Also, there's no scripting involved.


0 new messages