嗨,我有一个这样的组合框:
<select name="tayuda" id="mySelect">
<option value="" selected>Seleccionar</option>
<option value="Denuncia" <?=($info['tayuda']=='Denuncia')?'selected':''?>>Denuncia</option>
<option value="Reclamo" <?=($info['tayuda']=='Reclamo')?'selected':''?>>Reclamo</option>
<option value="Consulta" <?=($info['tayuda']=='Consulta')?'selected':''?>>Consulta</option>
<option value="Otro" <?=($info['tayuda']=='Otro')?'selected':''?>>Otro</option>
</select>
如果选择了选项 value="Consulta" 或者没有选择,我想隐藏 3 个字段集。
我怎样才能让它工作?