Reply to Re: Pass the value of a input box through a hyperlink

Your name:

Reply:


Posted by Jukka K. Korpela on 03/27/07 09:37

Scripsit Martix:

[massive quotation deleted here - consider using a newsreader instead of
"Google Groups" for posting, or learn to use "Google Groups"]

> You input an employee id and his name comes up in the top frame.

As usual, a URL would say more than a thousand words, though in this case,
constructing a demo page might take quite some work (if this is really an
intranet application and cannot be disclosed to the public).

> In the same frame there's a row of hyperlinks. Contact info, employment
> history, Qualifications, etc

You can use links there, or you could make them submit buttons. The latter
might be technically easier.

> The employee ID would need to be passed for each of the links in order
> for the asp page to be able to bring up the right information.

Then you can encode the employee ID into the URLs for the links; something
like

employee.asp?e_num=6&ID=42

The code that handles clicking on an employer name needs to retrieve the ID
anyway, and then it should include it into the code that it generates.

(Note: In HTML, the "&" needs to be encoded as "&".)

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация