0
正確な一致に基づいていくつかの行を表示しようとしています(21と12の両方が '1'に一致するため、ここjquery正確な一致に基づいて行を表示
ではJavaScriptです:
$("tr:has(.logType:contains('" + curr + "'))").filter(function() {
return $(this).text == curr;
}).removeAttr("style");
とhtml:
<table>
<thead>
<tr>
...
<th class="logType">
Log Type
<!-- some options -->
</select>
</th>
<thead>
<tbody>
...
<tr>
<td class="logType">
<!-- some content -->
</td>
</tr>
</tbody>
現在jqueryの内部の状態は、複数の完全一致があるにもかかわらず、trueを返すことはありません。