Hi John-

On Dec 4, 2007, at 10:23 AM, John-David Dalton wrote:

$$('[type=radio]').map(function(el){return el.next()}); // => [label,
label]
$$('[type=radio]').map(Element.next); // => [label, undefined]

You can use Enumerable#invoke instead of map:

$$("[type=radio]").invoke("next") // => [label, label]

-sam

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to