Welcome Guest, Not a member yet? Register   Sign In
Ajax refresh

[eluser]Patrick Reck[/eluser]
Hello! I'm trying to update a DIV box every minute. I've made a JS function which is getting called every minute as it's supposed to.

Now, how do I get AJAX to update the DIV box using a controller?

[eluser]Patrick Reck[/eluser]
This did the trick

           type: "POST",
           url: "<?php echo site_url(); ?>mail/ajaxupdate/5",
           data: dataString,
           success: function(data){

Theme © iAndrew 2016 - Forum software by © MyBB