mindtangle

Prototype Form Extensions

postedby ericnguyen on September4th,2009 tagged coding

I’ve been puzzled for some time as to why Prototype doesn’t allow us to set and get values from checkboxes and radio buttons. I finally needed this functionality at work and, with none of this obvious bit of functionality in the 1.6.1 release, I wrote my own extensions.

You can find them on GitHub. I added a bit of example code that you can check out here, too.

Related Posts:

Leave a Reply

Comments can use Markdown syntax. The toolbar at the top will mark up your text using Markdown, automatically. If you'd like to use XHTML, these tags are available: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>