0
比如我有兩個表如何實現每個表搜索在PHP
<div id="fortablea">
<input type="text">
<table id="tablea">
<tr>
<td>
</td>
</tr>
</table>
</div>
<div id="fortableb">
<input type="text">
<table id="tableb">
<tr>
<td>
</td>
</tr>
</table>
</div>
兩者都有自己的輸入文本的酒吧在各自的div。
我想留在同一頁面上,如果我在表格a的輸入中鍵入任何內容,那麼只有其內容應該改變其餘所有其他表格不受影響。每個表的
內容從兩個功能
function tableA($name);
function tableB($name2);
有沒有通過jQuery來做到這一點任何可能的方式來嗎?
有人可以解釋這個問題嗎?哦,你不應該有兩個'id =「tablea」',id應該是唯一的。 –
是的,有很多可能的方式通過jQuery獨特的表ID來實現這一點,請先嚐試一下。 – C2486
錯誤的道歉。 – Alex