Dot notation V Bracket notation

Giganews Newsgroups
Subject: Dot notation V Bracket notation
Posted by:  Robert Mark Bram (relaxedr…@REMOVE.THIS.optusnet.com.au)
Date: Fri, 4 Jul 2003

Howdy All!

Is there any difference between referencing objects and attributes with dot
notation or bracket notation?

Example,
  document.formname.controlname
  document [formname] [controlname]

Can I access attributes and objects equally with both?

Thanks for any advice!

Rob
:)

Replies