#1 (permalink)  
Old 01-04-2007, 08:59 PM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,445
Either/Or Select Options

I'm setting up a couple of selectboxes within some forms I'm working on. The selectboxes are set to allow multiple selections. I'm curious if there's any way to have one select option that, when selected, does not allow you to select other options in the box.

I know I can do a "Select All" type of button with javascript, but I'd really like the "All" option to be a completely separate option within the box, as I want it to have it's own unique value, rather than just adding all of the currently available options into an array. However, if someone selects the "All" option, there shouldn't be any reason for them to be able to select the other options in the box.

So, basically, I'm looking for a way to make one select option disable all of the other select options in the box when someone selects it.

Any thoughts? I'd kind of like to do this without javascript if possible.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote

Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Item - Displaying Options mrcoffee182 Programming and Scripting 1 05-06-2005 09:55 AM


All times are GMT -5. The time now is 05:36 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter