Bootstrap Table

by Phil

HTML

<link rel="stylesheet" href="https://rawgit.com/wenzhixin/bootstrap-table/master/src/bootstrap-table.css">
<script src="https://rawgit.com/wenzhixin/bootstrap-table/master/src/bootstrap-table.js"></script>
<table id="t1" 
  data-toggle="table" 
  data-url="/gh/get/response.json/wenzhixin/bootstrap-table/tree/master/docs/data/data1/" 
  data-card-view="true" 
  data-show-toggle="true"
  
         data-classes="table table-bordered"
       data-pagination="false"
       data-striped="true"
       data-show-columns="false"
       data-search="false"

  >
  <thead>
    <tr>
      <th data-field="name">Name</th>
      <th data-field="stargazers_count">Stars</th>
      <th data-field="forks_count">Forks</th>
      <th data-field="description">Description</th>
    </tr>
  </thead>
</table>

<button onClick="hideStuff()">
  Test
</button>
</button>

JavaScript

$(document).ready(function() {
  $("#t1").bootstrapTable({
    onToggle: hideStuff(),

  });

});

function test() {

  //alert("aaa");

}

function hideStuff() {

  $(".title").hide();

}


setInterval(function() {

  $(".title").hide()

}, 500);