Re: Javascript with gives document.forms[0].submit not a function error

2005-04-06 Thread Dave Newton
Ramaiah, Sunil wrote: function displayRemovePackageMessage( ) { returnValue = confirm("You are about to permanently remove this package."); if( returnValue == true ) { alert(document.forms[0].name.value); document.for

RE: Javascript with gives document.forms[0].submit not a function error

2005-04-06 Thread Ramaiah, Sunil
I got the answer. I was using "submit" as the property value. Changed it to something else and it works -Original Message- From: Ramaiah, Sunil [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 11:16 AM To: user@struts.apache.org Subject: Javascript with gives document.for