Condicional para deshabilitar un input text
Publicado por Ezequiel (13 intervenciones) el 14/02/2020 16:40:37
Hola soy Ezequiel, quería consultar como hacer que para cuando selecciono el option color se deshabilite el input text modelo. Gracias de antemano por cualquier ayuda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<html>
<head>
</head>
<body>
<br>
<br>
<br>
<br>
<section>
<center> <form method="post" action="">
Ingrese el modelo de auto:<br>
<input type="text" name="numero1" id="modelo"><br>
Ingrese el color:<br>
<br>
<input type="text" name="numero2"><br>
<br>
<br>
</section>
<section>
<center> <form method="post" action="">
<center>Seleccionar por:<br></center>
<div id="meses" class="select">
<section><right><br>
<select name="tipodeauto">
<br>
<br>
<option>Modelo </option>
<option>color</option></right>
</select>
<section>
</div>
</body>
</form>
</center>
</body>
<br>
<br>
</html>
Valora esta pregunta


0