I have a table with several table rows. Each row has a table data cell that
pertains to a selectable piece of information. Rather than go with the old
style of using checkboxes, I'm wondering if anybody knows of a good script
that does the following:
1) Allows you to click on the table row and the entire table row background
changes colors.
2) Only allows you to have one table row selected (background changed) at a
time, unless you hold down the CTRL key.
3) Allow for another button in a form (like a delete button), that can then
process a separate PHP script that references the selected table rows.
I've found several table row background change scripts that work great, but
I'm not sure how to proceed with processing the selected table rows as I'm a
beginner in JS.
Any help or pointers would be appreciated.
Thanks,
Max
|