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=vfsButtonSubmit Changes/html:link
I'm getting an error saying that my form is null or not an object.
Have a good one,
Steven
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
Title: Message
it
should be forms[0] (note the s).
Glenn
-Original Message-From: Steven Leija
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, September 04, 2001
2:53 PMTo: 'Struts
([EMAIL PROTECTED])'Subject: onClick Link
Submitting
I'm trying to
submit a form through
3 matches
Mail list logo