# Hyperlink Instead of Drop Down Menu

**URL:** https://forum.kirupa.com/t/hyperlink-instead-of-drop-down-menu/157841
**Category:** web dev
**Created:** [August 4, 2005, 5:03pm UTC](https://forum.kirupa.com/t/hyperlink-instead-of-drop-down-menu/157841 "2005-08-04T17:03:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Nick](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Nick](https://forum.kirupa.com/u/Nick)
#### Post date: [August 4, 2005, 5:03pm UTC](https://forum.kirupa.com/t/hyperlink-instead-of-drop-down-menu/157841/1 "2005-08-04T17:03:44Z")

</div>

Hey guys,

How can I make it so a certain variable is sent when a hyperlink is clicked on?  
Before I had it so there was a drop down menu and you can select an option and click submit. But how can I make it so the link itself is the submit button and it automatically stores a certain value when clicked on!

Before I had something like this:

\<html\>  
\<body\>

\<form action=“randompage.html” method=‘post’\>  
\<select name=“cars”\>  
\<option value=“volvo”\>Volvo  
\<option value=“saab”\>Saab  
\<option value=“fiat”\>Fiat  
\<option value=“audi”\>Audi  
\<input type=‘submit’ value=‘Submit’ name=‘submit’\>  
\</select\>

\</form\>

\</body\>  
\</html\>

Now I want each of these to be hyperlinks which sent out their value once clicked on! This is so I can get rid of the drop down menu and submit button. Many thanks.
