Javascript jquery tabledit未发送标识符

Javascript jquery tabledit未发送标识符,javascript,jquery,jquery-plugins,tabledit,Javascript,Jquery,Jquery Plugins,Tabledit,我正在尝试使用:,并将其设置为将数据发送到表单,不幸的是,它当前未在表单post中包含标识符,如果有任何帮助,an将不胜感激 我正在使用网站上的示例: HTML代码: <table class="table table-striped table-bordered" id="example"> <caption> Click the table cells to edit. </caption> <thead> <tr> <th&

我正在尝试使用:,并将其设置为将数据发送到表单,不幸的是,它当前未在表单post中包含标识符,如果有任何帮助,an将不胜感激

我正在使用网站上的示例: HTML代码:

<table class="table table-striped table-bordered" id="example">
<caption>
Click the table cells to edit.
</caption>
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
  <th scope="row">1</th>
  <td>Mark</td>
  <td>Otto</td>
  <td>@mdo</td>
</tr>
<tr>
  <th scope="row">2</th>
  <td>Jacob</td>
  <td>Thornton</td>
  <td>@fat</td>
</tr>
<tr>
  <th scope="row">3</th>
  <td>Larry</td>
  <td>the Bird</td>
  <td>@twitter</td>
</tr>

文章中唯一的数据是编辑的字段和操作。如果您能帮我把识别码写进帖子,我将不胜感激。正如你能告诉我的一样。

我也有同样的问题,但我已经解决了。您是在使用旧的示例还是来自其他网站?我通过寻找在线编辑来识别它,但我再也找不到了

不管怎样,你想改变吗

2
2


看起来您必须将
保留在标题中(它应该属于的位置)

非常感谢您的回答。你救了我的时间
$('#example').Tabledit({
            url: 'example.php',
            editButton: false,
            removeButton: false,
            columns: {
                identifier: [0, 'id'],
                editable: [[1, 'First Name'],[2, 'Last Name'],[3,  'Username', '{"1": "@mdo", "2": "@fat", "3": "@twitter"}']]
            }
        });