/ Forside / Teknologi / Udvikling / Java Scripts / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Java Scripts
#NavnPoint
molokyle 5410
Klaudi 2799
smorch 2439
kim 1360
Harlekin 1134
bentjuul 984
gibson 800
severino 695
Random 675
10  konsulent.. 626
drop down target help plz
Fra : kemu


Dato : 26-04-02 17:17

I've a drop down menu

<form name="jump">
<select name="menu"
onChange="location=document.jump.menu.options[document.jump.menu.selectedInd
ex].value;" value="GO">
<option value="http://www.www.com" TARGET="main">main</option>
<option value="http://www.www.com" TARGET="main">main</option>
</select>
</form>

and I want that he loads it in the frame called main how ?
target doesn't work



 
 
Knud Gert Ellentoft (26-04-2002)
Kommentar
Fra : Knud Gert Ellentoft


Dato : 26-04-02 17:36

Fri, 26 Apr 2002 18:17:05 +0200, skrev "kemu"
<kemusoft@hotmail.com>:

>onChange="location=document.jump.menu.options[document.jump.menu.selectedInd
>ex].value;" value="GO">

onChange="window.open(this.options[this.selectedIndex].value,'main')">

and delete TARGET="main" in the links.
--
med venlig hilsen
Knud
http://home13.inet.tele.dk/smedpark/
Svar kun i nyhedsgruppen - tak! E-mails besvares ikke.

Søg
Reklame
Statistik
Spørgsmål : 177501
Tips : 31968
Nyheder : 719565
Indlæg : 6408527
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste