Welcome Guest, Not a member yet? Register   Sign In
Load a view
#6

[eluser]GrootBaas[/eluser]
How can I do the same with my ajax call ...

Code:
var contract_no = $('.trSelected td:nth-child(2) div').text();
                
                $.ajax({
                               url: "<?=base_url()?>logs/update_logs",
                            global: false,
                              type: "POST",
                             async: true,
                          dataType: "html",
                              data: "con_num="+ contract_no                      
                });

as what I do with this button ...

Code:
<?=form_submit(array('id' => 'button', 'name' =>'btn_order', 'value' => 'test')); ?>

There must be a difference, i just dont know ...


Messages In This Thread
Load a view - by El Forum - 10-16-2008, 10:42 PM
Load a view - by El Forum - 10-17-2008, 12:51 AM
Load a view - by El Forum - 10-19-2008, 04:14 PM
Load a view - by El Forum - 10-20-2008, 08:49 PM
Load a view - by El Forum - 10-20-2008, 09:16 PM
Load a view - by El Forum - 10-20-2008, 09:32 PM
Load a view - by El Forum - 10-20-2008, 09:54 PM
Load a view - by El Forum - 10-21-2008, 02:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB