![]() |
![]() |
|
|
|||||||
| Programmierung Rat & Tat für Programmierer |
|
|
Themen-Optionen | Ansicht |
|
|
#2 |
|
Inventar
![]() Registriert seit: 04.11.2001
Alter: 45
Beiträge: 2.150
|
Code:
<script>
function flip(ref, raus, rein){
if(ref.selectedIndex == ref.options.length-1){
document.getElementById(raus).style.display = 'none';
document.getElementById(rein).style.display = 'inline';
}
}
</script>
<form action="">
<select id="raus" name="s" size="3" onchange="flip(this, 'raus','rein');">
<option>eins</option>
<option>zwei</option>
<option>drei</option>
</select>
<input type="text" id="rein" name="i" style="display:none;">
</form>
...wär' eine Möglichkeit die JS vorraussetzt... HTH ~
____________________________________
LOL - Mein erstes Post im Programmier Forum MACINTOSH - Most Applications Crash, If Not The Operating System Hangs |
|
|
|
| Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|