Now on ScienceBlogs: "Investigative science journalism" and books I like to read [All of My Faults Are Stress Related]

Seed Media Group

The Week In ScienceBlogs: Sign up for our newsletter.

Search

Profile

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

DesiPundit Community Member

Suggestions

Recent Posts

Recent Comments

RSS Feed

Today's recommendations


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.

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
Advertisement

© 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