私は2つと3つの列text_fields
を持っていtable
ます。ボタンをクリックしてtext_field
、最初の 2 列のテーブルにその 2 つの値を追加します。そのため、ユーザーはtext_field
値を何度も変更でき、[追加] をクリックして値を次の行に追加できbutton
ます。
2つtext_fields
は次のとおりです。
<input class="cross-reference-question-value" type="text" style="border: 1px solid gray; ">
<input class="cross-reference-answer-value" type="text" style="border: 1px solid gray; ">
こちらがtable
<table class="gridView" id="selected_units">
<thead>
<tr class="gridViewHeader">
<th>Question</th>
<th>Answer</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr class="<%= cycle('gridViewclickableRowDialog', 'gridViewAltclickableRowDialog') %>">
<td></td>
<td></td>
<td><a href="#">Delete</a></td>
</tr>
</tbody>
</table>
button_link
は_
<a href="#" , class="button" >hello</a>
ありがとう!!