title: click on link using getelementsbytagname
body: <p>Source Code:</p>
  
  <pre><code>&lt;TD CLASS="tbl2" ALIGN="left"&gt;&lt;A HREF="javascript: ;"onClick="LCMenu(event,1)"&gt;
  Principal Payment (25)&lt;/A&gt;&lt;/TD&gt;
  &lt;TD CLASS="tbl2" ALIGN="center"&gt;02/28/2014&lt;/TD&gt;
  &lt;TD CLASS="tbl2" ALIGN="center"&gt;03/25/2014&lt;/TD&gt;
  &lt;TD CLASS="tbl2" ALIGN="right"&gt;1.458567&lt;/TD&gt;
  &lt;TD CLASS="tbl2" ALIGN="center"&gt;&amp;nbsp;&lt;/TD&gt;
  &lt;TD CLASS="tbl2" ALIGN="center"&gt;02/28/2014&lt;/TD&gt;
  </code></pre>
  
  <p>Using the above source code I am trying to click on a link using:</p>
  
  <pre><code>Doc.getElementsByTagName("A")(8).Click
  </code></pre>
  
  <p>This method works in submitting the page that I want however it only works sometimes.  Other times it creates an error on the page because the proper URL isn't complete.</p>
  
  <p>The source code that the link I am trying to access is really complex and no one has been able to help.  Let me know if you would like to see the full source page. </p>
  
  <p>Thanks.</p>