W3C home > Mailing lists > Public > www-html@w3.org > June 2000

DOM access via javscript object model

From: Seung Chan Lim <info@djslim.com>
Date: Fri, 2 Jun 2000 00:37:50 -0400
Message-ID: <005001bfcc4c$4f63bae0$0100a8c0@djslim>
To: <www-html@w3.org>
what really is the difference between accessing , say , a form field via

document.forms["myform"]["myfield"]

versus

document.myform.myfield

is there some sort of hash table that makes it faster for the former script
to get the element faster or something?

slim
Received on Friday, 2 June 2000 00:38:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT