Is there a way to change the border of a table row along with its background color when the mouse hovers over it?
Currently, I can only modify the background color using the following code:
$(document).ready(function() {
$(function() {
$('.actionRow').hover(function() {
$(this).css('background-color', '#FFFF99');
},
function() {
$(this).css('background-color', '#FFFFFF');
});
});
});
However, I am unable to add a border color. While borders cannot be applied directly to a table row tag, I am hoping someone knows some jQuery tricks that can target the table cells within the selected row and apply styles to create the desired border effect.
Any suggestions would be greatly appreciated!