如何借助Angular和PHP检索表行中的超链接?

时间:2019-07-04 19:05:27

标签: php angular

考虑:

<table class="table table-striped table-bordered">
    <thead>
        <th style="width:180px;">Faculty Name&nbsp;<a ng-click="sort_with('a_faculty');"></a></th>
        <th>Award/Fellowship&nbsp;<a ng-click="sort_with('a_name');"></a></th>
        <th style="width:120px;text-align:center;">Year&nbsp;<a ng-click="sort_with('a_year');"></a></th>
    </thead>

    <tbody>
        <tr ng-repeat="data in searched = (file | filter:search | orderBy : base :reverse) | beginning_data:(current_grid-1)*data_limit | limitTo:data_limit">
           <td>{{data.a_faculty}}</td>
           <td>{{data.a_name}}</td>
           <td>{{data.a_year}}</td>
        </tr>
    </tbody>
</table>

当我使用它时,它仅检索文本,不检索超链接。我想要带有超链接的文本。

0 个答案:

没有答案