title: Json data getting values issue
body: <p>I am using jQuery getJson method to get the value from json...
  Following is my code for that..</p>
  
  <pre><code>         //var data_url="message.json";
           var data_url="php/server_processing.php";
           var count = 0;//will be computed(no of entries in json file)
           var paginationCount=20;
           var i=0,j=0;
           var symflag=0;
           $(window).load(function () {
                   $.getJSON(data_url, function(data) {
                       for(var key in data.data) {
                         if(data.data.hasOwnProperty(key)) {
                           count++;
                         }
                       }
                       //alert("count:"+count);
                       var output="";
                       //alert(data.data[0].short_desc);
                       for (i=0;i&lt;paginationCount;i++) {
                          //alert(data.data[i].title);
  
                          var id=data.data[i].id;
                          var title=data.data[i].title;
                          var short_desc=data.data[i].short_desc;
                          var created_by=data.data[i].created_by;
                          var date=data.data[i].date;
                          var time=data.data[i].time;
                           output+="&lt;div class='brick'&gt;&lt;div class=mhead&gt;" 
                           + id + "   "  
                           + title + "&lt;/div&gt;&lt;div class='mbody'&gt;" 
                           + short_desc + "&lt;/div&gt;&lt;div class='mfoot'&gt;" 
                           + created_by+ "   " 
                           + date+ "   " 
                           + time+"&lt;a data-toggle='modal' data-target='#myModal' onclick='fillmodaldata(" +i+")'&gt; more...&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;";
                       }
                       $( "#freewall" ).append( output );
                       wall.fitWidth();
                 });
  
           });
  </code></pre>
  
  <p>json input from php file:</p>
  
  <pre><code>{"data":[
  {"id":1,"category":"Computer programming","title":"C","short_desc":"C","created_by":"ash","date":"03\/07\/2014","time":9},
  {"id":2,"category":"Web","title":"D","short_desc":"asdasdasd","created_by":"mad","date":"03\/07\/2014","time":1},{"id":3,"category":"UI","title":"B","short_desc":"dfvdfvfdv","created_by":"ron","date":"03\/07\/2014","time":2}]}
  </code></pre>
  
  <p>I am usin Freewall jQuery plugin and I am trying to do messages dynamically from json data.
  But if I do <code>"alert(data.data[i].title)"</code> i get the desired output..but in at <code>"var id=data.data[i].id</code>", I am getting error data.data[i] is undefined...</p>
  
  <p>Please help me resolve this issue..
  Thanks in advance</p>