Eva*_*oot 0 html javascript jquery angularjs
我有一个正在填充的表格如下:
<table>
<tr>
<th>Id</th>
<th>Details</th>
<th>Score</th>
</tr>
<tr ng-repeat="x in data.items">
<td><a href="{{ x.get }}">{{ x.id }}</td>
<td>
<p><b>{{ x.name[0] }}</b></p>
<p><u>Brand</u>: {{ x.Brand }}; <u>Category URL</u>: {{ x.mlnURL }};<u>Price</u>: Rs {{x.Price}} </p>
</td>
<td>
<p><a href="{{x.explain}}"><b>{{ x.score }}</b></a></p>
Classifier Score: {{ x.cscore }} <br>
Document Score: {{ x.sscore }} </p>
</td>
</tr>
</table>Run Code Online (Sandbox Code Playgroud)
现在在这一行
<tr ng-repeat="x in data.items">Run Code Online (Sandbox Code Playgroud)
而不是在data.items中运行所有x的敌人,我想根据用户的需要运行它有限次数.我有来自用户的这个数字输入并存储在变量中.我怎样才能做到这一点.
| 归档时间: |
|
| 查看次数: |
88 次 |
| 最近记录: |