Hi,
i`m using ajax to display the data of my table, if i load the data like:
but if i load it with ajax i have only
<tbody>
</tbody>
and it automatically display the rows. there is way to control each tr color?
thanks.
i`m using ajax to display the data of my table, if i load the data like:
<th>id</th> <th>Customer Number</th> <th>WCODE</th> </tr> </thead> <tbody> <?php while ($row = mysql_fetch_array($result)) { ?> <tr style="background-color:<?=$row['COLOR']?>;border:1px solid;" > <td ><?=$row['id']?></td>i can controll the colors..
but if i load it with ajax i have only
<tbody>
</tbody>
and it automatically display the rows. there is way to control each tr color?
thanks.