title: Which method should be used ideally - document.getElementById or document.forms[]?
body: <p>I would like to know which of the following method is better?</p>
  
  <p>document.getElementById or documennt.forms[]?</p>
  
  <p>Which is the one that cshould be used regularly.<br/>
  The focus is on performance.<br/></p>
  
  <p>Regards,<br />
  Naveen</p>