My jQuery script does not work when I have a skin applied to my gridview. Once I add in the skin I cannot find the tr anymore. I assume it has something to do with the way the tr gets constructed. Without the skin, the row is a clean
<tr>data</tr>.
But with the skin the row is now
<tr style=....>data</tr>
Here is my jQuery that does work when I do not have skin applied to the gv.
$(document).ready(function () {
$('tr').mouseover(function () {
$(this).toggleClass('highlightrow');
}).mouseout(function() {
$(this).removeClass('highlightrow');
})
});