I would say you would need to name each checkbox with a number such as:

Chk01
Chk02
Chk03
....

Then, you probably want to click a button to start the process.  When
the button is clicked, it clears any registers of previous checkboxes.
Then you click on the first checkbox.  The onClick method would then
store that as the "first" checkbox.

Then, a prompt would appear telling the user to click the "last"
checkbox.  Then, you click it and store that checkbox name as well.

Then, loop through all the checkboxes from the first to the last and set
them as "checked".

The easiest way would be to use a multi-select list box.

M!ke 

-----Original Message-----
From: Dan O'Keefe [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 06, 2005 9:30 AM
To: CF-Talk
Subject: OT: JS-selecting range of checkboxes

Any other mailers here, like the abilty to select a range of checkboxes
by holding down the shift key.

Any one know how to do that with javascript?
 
----------------
Dan O'Keefe



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197611
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to