Welcome Guest, Not a member yet? Register   Sign In
Generating JSON events with CodeIgniter Array
#11

[eluser]yuvaraj[/eluser]
It was not answered for 2 and half years n i did it now!!
any ways i'm new to this forum and i haven't seen the date that was posted!! Smile
#12

[eluser]johanriyan[/eluser]
hallo master,

coding of the problems above.
how to show in view.

like this this:

Code:
[removed]
$(document).ready( function() {
cek();
});

function cek(){
    $.ajax({
        url: '<?php echo base_url('index.php/welcome/ajax');?>',
        cache: false,
  dataType: 'json',
        success: function(msg){
            $("#data").html(msg);
        }
    });
    var time = setTimeout("cek()",1000);
}
  [removed]

but not work. showing array.
else might?




Theme © iAndrew 2016 - Forum software by © MyBB