随笔 - 290  文章 - 10  评论 - 85  2

/*
* bootstrap-table - v1.5.0 - 2014-12-12
* https://github.com/wenzhixin/bootstrap-table
* Copyright (c) 2014 zhixin wen
* Licensed MIT License
*/

<table id="tblCountry"  >
   <thead>
    <tr>
     <th data-field="Code">Code</th>
     <th data-field="Name">Country</th>
    </tr>
   </thead>
  </table>
<script type="text/javascript">

    $.get("http://localhost:5920/GTA/Country", function (data, status) {
        $('#tblCountry').bootstrapTable({
                data: data.Country
        });
    });

    </script>

  

posted on 2015-02-03 00:43  Gu  阅读(...)  评论(...编辑  收藏