title: How to print ajax data throuth jquery
body: <p>url: "index.php/post/get_post", this url return json data like...</p>
  
  <pre><code>[{"id":"3","user_id":"2","message":"okiokiokio","is_active":"1","created_at":"2013-05-24 00:00:00","updated_at":"2013-05-24 00:00:00"}]
  </code></pre>
  
  <p>How to print data in particular fields  </p>
  
  <pre><code>$(document).ready(function(){
          $.ajax({
                  type: "POST",
                  url: "&lt;?php echo base_url();?&gt;index.php/post/get_post",
                  datatype: 'json',
                  success: function(data){
                      $('#divusername').append(data.user_id);       
                  }
          });
  });
  </code></pre>