RE: Auto submit with JavaScript

2003-07-24 Thread Guy . Molinari
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

RE: Auto submit with JavaScript

2003-07-23 Thread Raible, Matt
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

RE: Auto submit with JavaScript

2003-07-23 Thread Guy . Molinari
-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

Re: Auto submit with JavaScript

2003-07-23 Thread Dhruva B. Reddy
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.