Highlight Table Row on Click

By Daryl L. L. Houston Last update Jul 3, 2007 — Installed 1,504 times.

Script Summary: Highlight Table Row on Click



I wrote this script when working a long list of bugs in bugzilla. I wanted to be able to keep my place on the list as I clicked around to different tabs. The script adds a click handler to all tr tags on a page that highlights the row clicked (after unhighlighting any previously-clicked rows). It's pretty annoying if you don't limit the script to a bugzilla (or other) domain.