viernes, 13 de noviembre de 2009

Prototype - Type Radio

Bueno algo que nos puede servir cuando usamos Prototype
a la hora de usar html input type='radio'

* Formulario HTML
...

UNO
DOS
TRES
...


* JavaScript
...
var vRes = $$('input:checked[type="radio"][name="nameradio"]').pluck('value');
...

No hay comentarios.: