Welcome Guest, Not a member yet? Register   Sign In
Dropdown+prototype error
#1

[eluser]Unknown[/eluser]
Hi i am this code:

$opciones = array('-1' => 'Seleccione','1' => 'La Victima','2' => 'Familiar/Conocido', '3' => 'Desconocido', '4' => 'Funcionario Org.Seg.','0' => 'Otro');
$js = 'id="informante_tipo" onchange="[removed]if(this.value!='0'){$('informante_tipootro').style.display='none';}else{$('informante_tipootro').value='';$('informante_tipootro').style.display='block';}"';
echo form_dropdown('informante_tipo', $opciones, $js);

$js variable, syntax error in netbeans, who can i do to assign this parameter in $js ???




Theme © iAndrew 2016 - Forum software by © MyBB