Hi folks,

Assuming a form element has the same ID and NAME, which is faster: document.getElementById or document.myform.myelement?

I always assumed the latter since it's a directly path to the element, but I thought I'd probably better ask.