Now on ScienceBlogs: The Galaxy's Biggest Valentine

ScienceBlogs Book Club: Inside the Outbreaks

Search

Profile

Selva.jpg I am working on some very smart things to say here. Really. Meanwhile, there's this and this. Welcome.

Suggestions

Recent Posts

Recent Comments

RSS Feed

Archives

Creative Commons License

« 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 on Facebook
Share on StumbleUpon
Share on Facebook

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
Follow ScienceBlogs on Twitter

© 2006-2011 ScienceBlogs LLC. ScienceBlogs is a registered trademark of ScienceBlogs LLC. All rights reserved.