I do not want to change the color of individual rows in a striped table using jQuery:
$("#rowElementId").addClass("activeRow");
The css class is activeRowas follows:
.activeRow {
background-color: #d9d9d9;
}
The table itself looks like this:
<table class="table table-striped">
<thead>
<tr id=...>
...
The problem is that my solution, the jQuery instruction, only works for white lines in a striped table. How can i change this?
Here you can find an example of my problem: Bootstrap
d4rty source
share