you probably need to say "document.form[0].submit()"


----- Original Message ----- 
From: "Steven Leija" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 2:53 PM
Subject: onClick Link Submitting


> I'm trying to submit a form through a hyperlink, can anyone see what my
> error is in my code?
>  
> <html:link href="" onClick="javascript:form[0].submit();"
> styleClass="vfsButton">Submit Changes</html:link>
>  
> I'm getting an error saying that my form is null or not an object.
> 
> Have a good one, 
> 
> Steven 
> 
>  
> 

Reply via email to