jsrender 是下一代的 jQuery 模板,专为高性能的纯字符串渲染而优化,无需 DOM 和其他 jQuery 依赖。其官方地址为:http://www.jsviews.com/。
应用实例1:table动态加载
HTML:
<table class="table table-bordered">
<thead>
<tr>
<th>姓名</th>
<th>用户名</th>
</tr>
</thead>
<tbody ...