I've already verified that this works using a non-struts form. The syntax
you are suggesting is equivalent to the shorthand I used.
-Original Message-
From: Dhruva B. Reddy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 4:01 PM
To: Struts Users Mailing List
Subject: Re: Auto
Shouldn't it submit a form, rather than focusing on an element?
onchange=this.form.submit()
this.form can be used as a shortcut to the form on any elements w/in the
form.
HTH,
Matt
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 4:06
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 3:33 PM
To: 'Struts Users Mailing List'
Subject: RE: Auto submit with JavaScript
Shouldn't it submit a form, rather than focusing on an element?
onchange=this.form.submit()
this.form can
I didn't know this would submit the form.
I would have used something like:
onchange=document.accountAdjustmentForm.submit()
Dhruva
--- [EMAIL PROTECTED] wrote:
Hello,
I am developing a an application that automatically submits a
form when
a user selects a value from a drop down.
4 matches
Mail list logo