triggering a controls event via javascript
<p>im trying to figure out how to trigger a control's event from a javascript function (without touching the actual control itself)</p>

<p><strong>say i have this textbox...</strong></p>

<p><code>
&lt;input type="text" value="" id="my_textbox" onclick="alert('!');" /&gt;
</code></p>

<p><strong>then say i was trying to call its onclick event via javascript...</strong></p>

<p><code>
function TriggerTextboxOnClick()<br/>
{
<br/>
&nbsp;&nbsp;//... <i>call the onclick event of 'my_textbox'</i>
<br/>
}
</code></p>

<p>any help would be greatly appreciated as this is doing my nut - thanks</p>

<p>p.s. im not actually trying to pop-up an alert box, ive simplified it for illustrations sake</p>

<p>-- LM</p>
