title: Jquery data json not showing in Html [Laravel]
body: <p>I want to get json data, But when the row in html code it's now showing anything
  <strong>Html Code</strong></p>
  <pre><code>       &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;No&lt;/th&gt;
              &lt;th&gt;Waktu&lt;/th&gt;
          &lt;/tr&gt;
         &lt;/thead&gt;
         &lt;tbody id=&quot;bodyData&quot;&gt;
         &lt;/tbody&gt;  
      &lt;/table&gt;
      &lt;script&gt;
      $(document).ready(function() {
          var url = &quot;{{URL('userData')}}&quot;;
          $.ajax({
              url: &quot;mulai/getUserData&quot;,
              type: &quot;GET&quot;,
              data:{ 
                  _token:'{{csrf_token()}}'
              },
              cache: false,
              dataType: 'json',
              success: function(dataResult){
                  console.log(dataResult);
                  var resultData = dataResult.data;
                  var bodyData = '';
                  var i=1;
                  $.each(resultData,function(row){
                      bodyData+=&quot;&lt;tr&gt;&quot;
                      bodyData+=&quot;&lt;td&gt;&quot;+ i++ +&quot;&lt;/td&gt;&quot;
                      &quot;&lt;td&gt;&quot;+row.waktu+&quot;&lt;/td&gt;&quot;
                      ;
                      bodyData+=&quot;&lt;/tr&gt;&quot;;
                      
                  })
                  $(&quot;#bodyData&quot;).append(bodyData);
              }
          });    
  });
  &lt;/script&gt;
  </code></pre>
  <p><strong>Result Data with URL Method GET mulai/getUserData</strong></p>
  <pre><code>{&quot;data&quot;:[{&quot;id&quot;:4,&quot;namakelas&quot;:&quot;Percobaan&quot;,&quot;waktu&quot;:&quot;1&quot;,&quot;created_at&quot;:&quot;2020-08-27T03:52:36.000000Z&quot;,&quot;updated_at&quot;:&quot;2020-08-27T03:52:36.000000Z&quot;}]}
  </code></pre>
  <p>But when row in html code it's now showing anything</p>