我想突出显示与文本框具有相似值的表格单元格;即当用户开始输入字母本身就应该突出显示表细胞....基于文本框值突出显示表格单元格
<input type="text" id="txtsearch"/>
<html>
<table id="table" style="height:350px;margin-left:1em;width:700px;">
<!--this is my table header-->
<tr style="display:table-row">
<th class="checkbox"><input type="checkbox"/></th>
<th class="Name">NAME</th>
<th class="Score">SCORE</th>
<th class="Email">EMAIL</th>
<th class="Empty"></th>
</tr>
<tr>
<!--tabledata-->
<td ><input type="checkbox" /></td>
<td >Vijay Prakash</td>
<td >34</td>
<td >[email protected]</td>
<td ></td>
</tr>
</table>
<input type="button" id="btnCalculate" value="Calculate"/>
<label>Average:</label>
<label id="lblAverage"></label>
<label>Max:</label>
<label id="lblMax"></label>
</form>
</html>
</div>
这shud突出匹配的表格单元格 – 2013-05-03 05:15:45
我已经尝试过,并张贴了不同的答案只看到它.. 。我没有得到确切的输出结果,我想要的.datz reasn我发布在这里 – 2013-05-03 05:36:16