SHARE
TWEET

Untitled

a guest Feb 26th, 2020 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $.get({
  2.     url: dataforecast,
  3.     success: function (data) {
  4.         var $table = $('#table2')
  5.         $table.bootstrapTable({
  6.             data: data,
  7.             formatLoadingMessage: function () {
  8.                 return '';
  9.             }
  10.         })
  11.     }
  12. });
  13.  
  14. <table id="table2">
  15.     <thead>
  16.         <tr>
  17.             <th data-field="name">Name</th>
  18.             <th data-field="Pressure">Pressure</th>
  19.             <th data-field="Temperature">Temperature</th>
  20.             <th data-field="DewPoint">DewPoint</th>
  21.             <th data-field="Humidity">Humidity</th>
  22.             <th data-field="Precipitation1h">Precipitation 1h</th>
  23.             <th data-field="WindSpeedMS">Wind Speed m/s</th>
  24.             <th data-field="WindDirection">Wind Direction</th>
  25.         </tr>
  26.     </thead>
  27. </table>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top