Need a little help finishing this highlighting function
I have hacked up and extracted JS code from phpMyAdmin's software. Basically I wanted to take advantage of their row highlighting and checkbox selection functionality.
I have it stripped down and everything is working except 1 thing.
Basically, if there is a row already selected when the page loads, I want the row to be highlighted. And when you click the highlighted row, with 1 click the row is un-highlighted and the checkbox un-checked.