I have something like this:
\' onclick=\"SetBackgroundColor(this)\" style=\"background-color:Yellow\">
Whe
-
Instead of changing the table row background color, try changing the table cell background color.
$(document).ready(function() {
$(".mytr td").click(function() {
$(this).css("background-color", "#000000");
});
});
- 热议问题