You are here: Re: Pass the value of a input box through a hyperlink « HTML « IT news, forums, messages
Re: Pass the value of a input box through a hyperlink

Posted by Martix on 03/29/07 20:49

Jonathan N. Little stated I could use a drop down list box. But I
really don't want to do it that way. I really want to use links.

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

How do I use the links? How do you place the a variable in the code?

>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.

As in the example I just displayed. I just need the the employee
number to get passed through.

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

How do I use this information?

<a href="emp_info.asp?e_num=" &amp document.inputs.Tcc.value>Employee
Info </a>

 

Navigation:

[Reply to this 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

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