Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > click highlight/select instead of checkbox

Reply
Thread Tools

click highlight/select instead of checkbox

 
 
Max Kipness
Guest
Posts: n/a
 
      03-25-2006
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
click click click Andy Morrison Computer Support 7 12-20-2007 06:50 AM
checkbox instead of dropdown Remco Swoany Ruby 2 10-03-2007 07:00 PM
can wxpython checkbox use the "fill in" marker instead of the "check"? jojoba Python 4 08-14-2006 02:55 PM
disable checkbox list checkbox Vikram ASP .Net 1 01-25-2006 02:59 PM
Text on Checkbox below the checkbox tshad ASP .Net 0 04-14-2005 11:26 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57