Reply
Making checkboxes behave like radio buttons
Old 09-07-2007, 01:11 PM Making checkboxes behave like radio buttons
Skilled Talker

Posts: 65
Hi

For reasons that would take too long to explain, I need to make a group of three select boxes behave like radio buttons ie if you click one of the three, any previously selected one is deselected.

Anyone know of a javascript that would do this?

many thanks

tony
soon is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 09-08-2007, 12:33 AM Re: Making checkboxes behave like radio buttons
Novice Talker

Posts: 13
Name: Ham
Location: Singapore
you can either use a function that will deselect all 3 textboxes and select back whatever you have clicked, or use the onCLICK event within each <INPUT> to uncheck the other 2 boxes.
__________________
HAFIOŠ Networks - http://www.hafio.net
Exclusive webhosting services
hafio is offline
Reply With Quote
View Public Profile Visit hafio's homepage!
 
Old 09-08-2007, 06:27 AM Re: Making checkboxes behave like radio buttons
Skilled Talker

Posts: 65
Many thanks!

best wishes

tony
soon is offline
Reply With Quote
View Public Profile
 
Old 09-19-2007, 06:32 AM Re: Making checkboxes behave like radio buttons
Skilled Talker

Posts: 96
Name: Tudor Barbu
Why don't you just use radio buttons?
__________________
www.it-base.ro
Tudor.b is offline
Reply With Quote
View Public Profile Visit Tudor.b's homepage!
 
Old 09-26-2007, 07:43 AM Re: Making checkboxes behave like radio buttons
Skilled Talker

Posts: 65
Thanks everyone! Long story, but I found a way round it

best wishes

tony
soon is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Making checkboxes behave like radio buttons
 

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

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


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12869 seconds with 12 queries