HTMLSelectElement.add()

Hello WG.

There should be a third add() method on HTMLSelectElement (and
HTMLOptionsCollection) that takes only the first ‘HTMLElement element’
argument and whose behaviour is the same as calling add(element, null).
Firefox is the only browser of the big five that doesn’t support passing
only one argument to add() (and that is only on HTMLSelectElement;
passing a single argument to HTMLOptionsCollection::add() works).

Thanks,

Cameron

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Saturday, 22 November 2008 05:26:49 UTC