Bueno, lo normal es llamar a una funcion... pero en tu caso especifico te comento:
<select name="sel" onchange="with(document.getElementById('text')) {style.display = (this.value == 2) ? 'inline' : 'none'; disabled = (this.value != '3')} with(document.getElementById('text1')) {style.display = (this.value == 2) ? 'inline' : 'none'; disabled = (this.value != '3')}">
La funcion getElementById solo obtiene un elemento, no un array de elementos q yo sepa.
__________________ La muerte es un camino que todos debemos recorrer... |