0
toget選定值我創建了從數據填充的自舉表,我希望能夠顯示當用戶點擊「獲取選擇」按鈕,用戶檢查的值舉表代如何從表
如何我能得到所選的名稱值嗎?
這裏是我的FIDDLE和代碼下面
<table id="table" data-toggle="table" data-side-pagination="server" data-click-to-select="true">
<thead>
<tr>
<th data-field="state" data-checkbox="true"></th>
<th data-field="name">Name</th>
<th data-field="stargazers_count">Stars</th>
<th data-field="forks_count">Forks</th>
<th data-field="description">Description</th>
</tr>
</thead>
</table>
<fieldset>
<input id="getSelected" type="button" value="Get Selected" />
<input id="selectAll" type="button" value="Select All" />
<input id="clear" type="button" value="Clear Selection" />
</fieldset>
謝謝您。如何清除已選中的選項或何時使用全選按鈕來獲取所有選中的值 – user244394