Andy Matthews wrote:
Ah...thank you for clarifying Klaus...so he wants all elements that have a
name attribute.

Yes, that DOM method translates to:

document.getElementsByName('foo');

=>

$('*[name=foo]') // jQuery 1.2, maybe 1.1.4 already

$('[EMAIL PROTECTED]') // pre jQuery 1.2

The latter of course is a jQuery object and not a nodelist. And I don't know right now if getElementsByName returns only elements that can have a name (as written in the spec).



--Klaus

Reply via email to