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

[eluser]Dready[/eluser]
Hello,

first of all, for debugging things like ajax, I suggest you use the "httpfox" firefox addon, it's simple and really cool.

Now, in your ajax call, you don't do nothing with the html the server returns, I suggest you add the success option, something like :

Code:
$.ajax({
                               url: "<?=base_url()?>logs/update_logs",
                            global: false,
                              type: "POST",
                             async: true,
                          dataType: "html",
                              data: "con_num="+ contract_no,
                           success: function (data,textstatus) {
                                       alert(data);
                                    }
                });

Does it work better ?


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