Re: submitting a form using java script on IE

2007-05-21 Thread Mansour
It's working now. It's my fault. The onclick function needs a return value: href="javascript://"> - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: submitting a form using java script on IE

2007-05-21 Thread Mansour
"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

RE: submitting a form using java script on IE

2007-05-21 Thread Forsberg, 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 too and I tried using getElementByID and I tried document.all[frmName], they all worked f

Re: submitting a form using java script on IE

2007-05-21 Thread Mansour
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

RE: submitting a form using java script on IE

2007-05-21 Thread Forsberg, Mike
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