struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McCormack, Chris" <Chris.McCorm...@littlewoods.co.uk>
Subject RE: [OT] Javascript event handler: works in Firefox but not Internet Explorer...(?)
Date Tue, 27 Apr 2004 14:22:38 GMT
Put id=formname on your form, and make sure your form submit path is your desired action.

Put onChange="document.getElementById('formname').submit()" on your dropdown box.

Not tried this before but it should work.

Chris McCormack

-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of bOOyah
Sent: 27 April 2004 14:50
To: user@struts.apache.org
Subject: Re: [OT] Javascript event handler: works in Firefox but not
Internet Explorer...(?)


ipw8080-apache@yahoo.com wrote:

> I don't have IE on this machine, but going from memory I think 'form
> = document.forms[0];' should work assuming the form you want to work
> with is the first on the page.
Yeah, I tried that too.  But IE exhibits the same error.  It's almost 
like IE thinks that 'form.action' is read-only or something.
-- 
bOOyah


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


***********************************************
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.
************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message