Call a submit button by code

wxdqz

New Member
I have a form with Id="Form1" and a submit button withId="btnSearch".
I want to click it as user clicks another button in the form.I use the following synatax

<INPUT type="button" value=http://www.webdeveloper.com/forum/archive/index.php/"Submit" onclick="Form1.btnSearch.Click()">

but I get an error.
Any help appriciated
 
Back
Top