Posted by David Dorward on 02/13/06 10:07
Nav wrote:
> How does someone put a variable in a link? In particular, I'd like to
> put a hidden form value in a link. Something like:
>
> <input type="hidden" name="URLvalue" value="index.html">
> <a href="http://www.whatever.com/'URLvalue'">
Links go to one URL. Submitting form data is done by forms.
<form action="http://www.example.com/">
<div>
<input type="hidden" name="URLvalue" value="index.html">
<input type="submit">
</div>
</form>
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|