Connecting Tech Pros Worldwide Forums | Help | Site Map

Need some help with <option>

ken ullman
Guest
 
Posts: n/a
#1: Jul 20 '05
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>


Matthias Gutfeldt
Guest
 
Posts: n/a
#2: Jul 20 '05

re: Need some help with <option>


ken ullman wrote:[color=blue]
> 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>[/color]

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

Matthias Gutfeldt
Guest
 
Posts: n/a
#3: Jul 20 '05

re: Need some help with <option>


Matthias Gutfeldt wrote:[color=blue]
> ken ullman wrote:
>[color=green]
>> 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>[/color]
>
>
> 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.[/color]

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

David Dorward
Guest
 
Posts: n/a
#4: Jul 20 '05

re: Need some help with <option>


ken ullman wrote:
[color=blue]
> I would like to have it go to linkable address in another page.[/color]
[color=blue]
> <select name="Symptoms">[/color]

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
Closed Thread