DataTablesプラグインをオンラインで見つけて、過去 4 時間インストールしようとしましたが、残念ながらインストールできませんでした。
私が追加したメタタグで
<style type="text/css" title="currentStyle">
@import "css/dataTable/demo_page.css";
@import "css/dataTable/demo_table_jui.css";
@import "css/dataTable/jquery-ui-1.8.4.custom.css";
</style>
<script type="text/javascript" src="/cms_testing/js/jquery.dataTables.js"></script>
はい、これが私がこれまでに行ったことです
<script>
$(function(){
$('#internalActivities').dataTable();
});
</script>
ファイルは存在します。二重チェックを行いました。
これが私のhtmlテーブルです
<table id="internalActivities">
<thead>
<tr><th colspan="3">Internal Activities</th></tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;"><a href="display-call.php?account_id=9&call_id=1128"><strong>Initial Development</strong></a></td>
<td style="text-align: center;">05/23/2013 06:19 AM</td>
<td style="text-align: center;">name</td>
</tr>
<tr>
<td colspan="3"><em>Call Result: Message Delivered - Follow up in 21 days</em>
<br /><p class="sub_note">Moving to bottom of list</p>
</td>
</tr>
<tr>
<td style="text-align: left;"><a href="display-call.php?account_id=9&call_id=1052"><strong>Stage 2 Development</strong></a></td>
<td style="text-align: center;">04/19/2013 11:05 AM</td>
<td style="text-align: center;">name</td>
</tr>
<tr>
<td colspan="3"><em>Call Result: Partial Discussion</em>
<br /><p class="sub_note">awef</p>
</td>
</tr>
</tbody>
</table>
エラーは発生しませんが、テーブルが正しく表示されません。