467,910 Members | 1,753 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,910 developers. It's quick & easy.

Need some help with <option>

I would like to have it go to linkable address in another page.
ex:
Blepharitis<br>
<ul>
<li>symptoms
<select name="Symptoms">
<option value="blepharitis.html#seb_symp">Seborrheic</option>
<option value="blepharitis.html#staph_symp">Staph</option>
</select>
</ul>

Jul 20 '05 #1
  • viewed: 1373
Share:
3 Replies
ken ullman wrote:
I would like to have it go to linkable address in another page.
ex:
Blepharitis<br>
<ul>
<li>symptoms
<select name="Symptoms">
<option value="blepharitis.html#seb_symp">Seborrheic</option>
<option value="blepharitis.html#staph_symp">Staph</option>
</select>
</ul>


Simple: After submitting the form, the server-side script that handles
the form data redirects to the desired page. Choose your favourite
server-side scripting language.

Matthias

Jul 20 '05 #2
Matthias Gutfeldt wrote:
ken ullman wrote:
I would like to have it go to linkable address in another page.
ex:
Blepharitis<br>
<ul>
<li>symptoms
<select name="Symptoms">
<option value="blepharitis.html#seb_symp">Seborrheic</option>
<option value="blepharitis.html#staph_symp">Staph</option>
</select>
</ul>

Simple: After submitting the form, the server-side script that handles
the form data redirects to the desired page. Choose your favourite
server-side scripting language.


I should have checked before. A quickie explanation is already available
here: <http://www.webdevtips.com/webdevtips/php/jump.shtml>. I would
perform the usual anti-hacking attempts on the $url before sending it as
a header, but that's trivial too.
Matthias

Jul 20 '05 #3
ken ullman wrote:
I would like to have it go to linkable address in another page. <select name="Symptoms">


http://www.cs.tut.fi/~jkorpela/forms/navmenu.html

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ang Talunin | last post: by
6 posts views Thread by Chris Fink | last post: by
7 posts views Thread by Shrek | last post: by
14 posts views Thread by The Natural Philosopher | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.