<form name="Deposit"> <tr> </tr> <tr> <input type="radio" id="Kind" name="kind" value="0" onclick="obj=document.getElementById('Period'); obj2=document.getElementById('Rate');if(this.checked=true) {obj.disabled=false;obj2.disabled=true;}"/> terminowa <input type="radio" id="Kind" name="kind" value="1" onclick="obj=document.getElementById('Period'); if(this.checked==true) {obj.disabled=false;}" /> </tr> <tr> <td> <label> <input type="radio" id="Rate" name="rate" value="0" /> stałe</label> <label> <input type="radio" id="Rate" name="rate" value="1" /> zmienne</label> </td> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> </form>
Mam taki kod formularza(pominmy na razie drobne bledy).Chcialbym aby w zaleznosci od wybranych radio buttonow rozwijane menu 'okres lokaty' zawieralo rozne pozycje.Sa trzy kombinacje tych ustawien radio buttonow:
1.'terminowa' i 'stale'
2.'terminowa' i 'zmienne'
3.'dynamiczna' i 'zmienne'
Jak nalezy robic takie rzeczy? Bardzo prosze o jakas wskazowke czy porade lub fragmenty kodu.Z gory bardzo dziekuje!!!!!!!!!!