[eluser]jozeunico[/eluser]
And here is my view
Code:
<table id="busqueda">
<?php echo form_open('usuario/busqueda/do_validaCadena');
$attributes = array('name' => 'id_fondo',
'id' => 'id_fondo', );
$value[0]='todos';
foreach($fondos as $fondo){
$value[$fondo['id_fondo']]=$fondo['familia'];
}
echo "<tr><td>".form_dropdown('id_fondo',$value,0,"id='id_fondo'"). "</td></tr>";
echo "<tr id='radioBut'>";
$attributes =array('name'=>'tipo',
'id'=>'documentos',
'value'=>1,
'checked'=>true );
echo "<td>Año</td><td colspan='2'>".form_radio($attributes)."<label for='documentos'>Documentos</label>";
$attributes = array('name'=>'tipo',
'value'=>2,
'id'=>'fotos'
);
echo "".form_radio($attributes)."<label for='fotos'>Fotos</label>";
$attributes = array('name'=>'tipo',
'value'=>5,
'id'=>'postales'
);
echo "".form_radio($attributes)."<label for='postales'>Postales</label></td>";
echo "</tr>";
echo form_close(); ?>
</table>
How can i do another ajax request with the dropdowns that I get with the firs ajax request(dropdown)
Any help thank you and thanks for your time.