basic javascript issue
<p>I have a webpage form with a checkbox on it.  I am trying to set the box to checked clicking an  that exists on another part of the webpage using the onclick.</p>

<p>NONE of these seem to work (form and checkbox ID/NAME are all set properly):</p>

<pre><code> &lt;a href="#" onclick="document.getElementById('frmEditBasicBasic').active.checked=TRUE;"&gt; test &lt;/a&gt;

 &lt;a href="#" onclick="document.frmEditBasicBasic.active.checked=TRUE;"&gt; test &lt;/a&gt;

 &lt;a href="#" onclick="document.getElementById('active').checked=TRUE;"&gt; test &lt;/a&gt;

&lt;a href="#" onclick="window.document.getElementById('frmEditBasicBasic').active.checked=TRUE;"&gt; test &lt;/a&gt;

&lt;a href="#" onclick="window.document.frmEditBasicBasic.active.checked=TRUE;"&gt; test &lt;/a&gt;

 &lt;a href="#" onclick="window.document.getElementById('active').checked=TRUE;"&gt; test &lt;/a&gt;
</code></pre>
