1
我在我的应用程序中使用jquery数据表,但搜索忽略html选择标记值。我能够使用输入标记的值进行搜索。jquery datatables选择搜索
如何扩展数据表以搜索选择标签?
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
<thead>
<tr>
<th>Rendering engine</th>
<th>Browser</th>
<th>Platform(s)</th>
<th>Engine version</th>
</tr>
</thead>
<tbody>
<tr class="gradeX">
<td><select>
<option selected="selected">Gecko</option>
<option>Trident</option>
<option>Webkit</option>
<option>Presto</option>
</select></td>
<td>Internet
Explorer 4.0</td>
<td><input type="text" class="engine" value="Win 95+"></td>
<td class="center"><input type="text" class="version" value="4"></td>
</tr>
<tr class="gradeC">
<td><select name="select">
<option >Gecko</option>
<option selected="selected">Trident</option>
<option>Webkit</option>
<option>Presto</option>
</select></td>
<td>Internet
Explorer 5.0</td>
<td><input type="text" class="engine" value="Win 95+"></td>
<td class="center"><input type="text" class="version" value="5"></td>
</tr>
<tr class="gradeA">
<td><select name="select2">
<option >Gecko</option>
<option>Trident</option>
<option selected="selected">Webkit</option>
<option>Presto</option>
</select></td>
<td>Internet
Explorer 5.5</td>
<td><input type="text" class="engine" value="Win 95+"></td>
<td class="center"><input type="text" class="version" value="5.5"></td>
</tr>
<tr class="gradeA">
<td><select name="select3">
<option >Gecko</option>
<option>Trident</option>
<option>Webkit</option>
<option selected="selected">Presto</option>
</select></td>
<td>Internet
Explorer 6</td>
<td><input type="text" class="engine" value="Win 98+"></td>
<td class="center"><input type="text" class="version" value="6"></td>
</tr>
<tr class="gradeA">
<td><select name="select4">
<option selected="selected">Gecko</option>
<option>Trident</option>
<option>Webkit</option>
<option>Presto</option>
</select></td>
<td>Internet Explorer 7</td>
<td><input type="text" class="engine" value="Win XP SP2+"></td>
<td class="center"><input type="text" class="version" value="7"></td>
</tr>
<tr class="gradeA">
<td><select name="select5">
<option >Gecko</option>
<option selected="selected">Trident</option>
<option>Webkit</option>
<option>Presto</option>
</select></td>
<td>AOL browser (AOL desktop)</td>
<td><input type="text" class="engine" value="Win XP"></td>
<td class="center"><input type="text" class="version" value="6"></td>
</tr>
<tr class="gradeA">
<td><select name="select6">
<option >Gecko</option>
<option>Trident</option>
<option selected="selected">Webkit</option>
<option>Presto</option>
</select></td>
<td>Firefox 1.0</td>
<td><input type="text" class="engine" value="Win 98+/OSX.2+"></td>
<td class="center"><input type="text" class="version" value="1.7"></td>
</tr>
</table>
这里是一个的jsfiddle http://jsfiddle.net/hBa3a/当我搜索壁虎它并不过滤值
非常感谢您! – sking
现在有没有更好的数据表1.10.x解决方案? – Frank