Welcome Guest, Not a member yet? Register   Sign In
(SOLVED) radioButton ajax
#2

[eluser]jozeunico[/eluser]
And here is my view
Code:
<table id="busqueda">

        &lt;?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&ntilde;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(); ?&gt;
</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.


Messages In This Thread
(SOLVED) radioButton ajax - by El Forum - 02-27-2009, 07:52 PM
(SOLVED) radioButton ajax - by El Forum - 02-27-2009, 07:52 PM
(SOLVED) radioButton ajax - by El Forum - 03-02-2009, 10:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB