By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,492 Members | 1,987 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,492 IT Pros & Developers. It's quick & easy.

Need some help with <option>

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.