Now on ScienceBlogs: How light or dark is Barack Obama's skin? Depends on your political stance...

Seed Media Group

Collective Imagination

« Verbier Music Festival | Main | Today »

HTML horrors

Category: Behind Curtains
Posted on: September 5, 2007 6:14 AM, by Selva


Am I a HTML horror or what!
blah
meh

HTML is a den of horrors. One of the ugly ones is called the Radio Button. If you did not intend to set a radio box choice and set it by mistake, you cannot unset it easily. Why the heck is a radio box so snotty and unforgiving? Sheesh.

Share this: Stumbleupon Reddit Email + More

TrackBacks

TrackBack URL for this entry: http://scienceblogs.com/mt/pings/49892

Comments

1

Why are you misusing radio buttons? You want to be able to uncheck as opposed to select something else, use check boxes.

I'm no HTML programmer, but this one seems pretty simple ...

Posted by: Scott Belyea | September 5, 2007 8:41 AM

2

This is why good HTML programmers will always set a third option for "None" or "N/A" and make it the default. Also, checkboxes are good; but checkboxes allow the user to choose more than one option at a time, something you may not want.

Personally, I prefer to set fire to HTML forms, although radio buttons smell kind of funny when they burn.

Posted by: Nobody | September 5, 2007 11:06 AM

3

There's a Greasemonkey script that makes radio buttons uncheckable: http://userscripts.org/scripts/show/6540. Of course, you might need Firefox and the Greasemonkey extension (or add-on, as extensions seem to be called these days).

Posted by: brtkrbzhnv | September 7, 2007 11:29 AM

Post a Comment

(Email is required for authentication purposes only. On some blogs, comments are moderated for spam, so your comment may not appear immediately.)





ScienceBlogs

Search ScienceBlogs:

Go to:

Advertisement
Enter to win a free copy of The Monty Hall Problem
Visit the Collective Imagination blog
Advertisement
Collective Imagination

© 2006-2009 Seed Media Group LLC. ScienceBlogs is a registered trademark of Seed Media Group. All rights reserved.

Sites by Seed Media Group: Seed Media Group | ScienceBlogs | SEEDMAGAZINE.COM