Autor Beitrag
NeoXan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81

WinXP Sp1 Home
D7 Prof
BeitragVerfasst: Mo 19.01.04 15:08 
Und wie könnte ich z.B. zwischen xxx und Server xxx2 wählen...sprich eine Combobox beeinflussen...
Wenn dort Value steht dann geht das...aber was mache ich z.B. hierbei

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
          <select size=1 name=cho>
            <option>xxx</option>
            <option>xxx2</option>
            <option>xxx3</option>
            <option>xxx4</option>
            <option>xxx5</option>
            <option>xxx6</option>
          </select>


mfg
NeoXan
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: Mo 19.01.04 15:17 
das wird es aber in nem html file nicht geben...denn dabei wird kein value übergeben, was soll dann das ausführbare script damit anfangen?

hächstens in Kombination mit nem Java Script etc.

Gruß

ixtreme.de
Chatfix
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1583
Erhaltene Danke: 10

Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
BeitragVerfasst: Mo 19.01.04 15:32 
vorbelegen kannste mit <option selected>...</option>logischer weise nur bei einer option möglich

Mehr zu auswahllisten: selfhtml.teamone.de/...ormulare/auswahl.htm

_________________
Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
NeoXan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81

WinXP Sp1 Home
D7 Prof
BeitragVerfasst: Mo 19.01.04 23:05 
na das ist ja net meine php page ;)... Ich will sie nur per Delphi ausfüllen und dann abschicken lassen...

mfg
NeoXan
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: Mo 19.01.04 23:06 
ohne werte wird das aber wohl kaum möglich sein...

aber poste doch bitte mal den link zu der seite, vielleicht kann ich dir dann weiterhelfen..


gruß

ixtreme.de
Chatfix
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1583
Erhaltene Danke: 10

Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
BeitragVerfasst: Di 20.01.04 07:57 
jo, wenn die liste keine values hat dann wird sie eh nicht übergeben (bzw leer)...
Jop ein Link zu der Seite wäre interessant...

_________________
Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
NeoXan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81

WinXP Sp1 Home
D7 Prof
BeitragVerfasst: Di 20.01.04 08:35 
tadaaa...dank scp hier bitteschön

ausblenden Delphi-Quelltext
1:
ovElements.item(i).item(2).Selected := true;					


Die 2 steht für den Index des Items (der option) in der Combobox (beginnend bei 0).

Oder nach Text:
ausblenden Delphi-Quelltext
1:
2:
3:
for x := ovElements.item(i).length-1 downto 0 do 
  If (ovElements.item(i).item(x).innerText = 'xxx3') then 
    ovElements.item(i).item(x).Selected := true;
Matthias Schulte
Hält's aus hier
Beiträge: 2



BeitragVerfasst: So 21.03.04 03:41 
ich kriegs irgendwie nicht gebacken und brauch das auch :(