It's working now.
It's my fault. The onclick function needs a return value:
href="javascript://">
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
"this" is removed from the anchor
tags. Could this be the issue?
Mike
-Original Message-
From: Mansour [mailto:[EMAIL PROTECTED]
Sent: Monday, May 21, 2007 12:53 PM
To: Struts Users Mailing List
Subject: Re: submitting a form using java script on IE
Mike:
I tried this one t
-Original Message-
From: Mansour [mailto:[EMAIL PROTECTED]
Sent: Monday, May 21, 2007 12:53 PM
To: Struts Users Mailing List
Subject: Re: submitting a form using java script on IE
Mike:
I tried this one too and I tried using getElementByID and I tried
document.all[frmName], they all worked f
Mike:
I tried this one too and I tried using getElementByID and I tried
document.all[frmName], they all worked fine. I was able to get the
object successfully under FF and IE. I view the contents of this object
using simple alerts and JS console in FF. The problem is when submitting
the form
I've never used the this.parentNode.submit() in a form. That might only
work in Firefox. (I make no claim if this is true, as I didn't look it
up)
What I generally use is document.formName.submit().
Hope I helped,
Mike
-Original Message-
From: Mansour [mailto:[EMAIL PROTECTED]
Sent
5 matches
Mail list logo