0
jQueryモバイルにはハイライトがありますか?たとえば、表の行を強調表示します。 Jquery UIにはハイライトがあります。jquery mobile ui-state-highlightをハイライトする方法
<table>
<tr class="ui-state-highlight">
異なるテーマと色見本で動作するはずです。
ありがとうございました。
jQueryモバイルにはハイライトがありますか?たとえば、表の行を強調表示します。 Jquery UIにはハイライトがあります。jquery mobile ui-state-highlightをハイライトする方法
<table>
<tr class="ui-state-highlight">
異なるテーマと色見本で動作するはずです。
ありがとうございました。
/*
I'm also searching for that question. The only way I just now can think at this is using jQuery to find the selector:
$("table tr.myTR").addClass('error');*/
----------
<style>
.error {
background-color: #fbec88;
}
tr:nth-child(even) {
background: #e9e9e9;
}
</style>
<div data-role="content">
<table data-role="table" data-mode="" id="myTable">
<tbody>
<tr class="myTR">
<td>Alfreds Futterkiste</td>
</tr>
<tr>
<td>Maria Anders</td>
</tr>
<tr>
<td>Obere Str. 57</td>
</tr>
<tr>
<td>Berlin</td>
</tr>
<tr>
<td>12209</td>
</tr>
<tr>
<td>Germany</td>
</tr>
</tbody>
</table>
</div>
</div>
<script>
$(function() {
$("table tr.myTR").addClass('error');
})
</script>
この回答が現在の問題の修正にどのように役立つかについての回答 –