The Developer Day | Staying Curious

Dec/07

17

Javascript Radio Group Value Tip Using Prototype

A simple tip how to find out radio group value with prototype:

var value;
Form.getInputs(this.form, 'radio').each( function(input) { if (input.checked) { value = input.value }; });

RSS Feed

No comments yet.

Leave a comment!

<<

>>

Find it!

Theme Design by devolux.org