Click to See Complete Forum and Search --> : How to get ctrl + click action.


sashg
07-06-2005, 01:51 AM
I want to add multiple cell selection in the table using ctrl+click on the cell.(so that user will click using contorl key down on more than one cell and then select submit). Can any one please help how to trap the ctrl+click event?

trout
07-06-2005, 11:22 AM
Check out the following:

https://lists.latech.edu/pipermail/javascript/2002-July/003914.html

regarding trapping ctrl in netscape ... it'll be a good starting point ..

HTH

trout

sashg
07-07-2005, 11:10 AM
I found the solution. Its really simple. There is 'ctrlKey' event. After getting in the javascript for OnClick, you can check this event and take crtl + key action.