Re: unable to programmatically perform a submit

2001-06-21 Thread Norman Timmler
hi michelle, i see a main difference between your struts version and your non-struts version. on the struts version you have forms[0] referencing your form and on the second one you have forms[1]. the secure way to talk to forms by JavaScript is to reference the form by name.

Re: unable to programmatically perform a submit

2001-06-21 Thread Michelle Popovits
anyone else out there been able to make this work? Thanks, Michelle - Original Message - From: Norman Timmler [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Michelle Popovits [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 4:55 AM Subject: Re: unable to programmatically perform a submit hi

Re: unable to programmatically perform a submit

2001-06-21 Thread Bill Pfeiffer
Michelle, I had the exact same issue in IE and it had to do with having an actual submit or reset button as part of the form. For some reason, If I had a submit button on the form, performing a submit in javascript yeilded the error that you see. When I remove the submit button (or reset

RE: unable to programmatically perform a submit

2001-06-21 Thread Chuck Stern
] Subject: Re: unable to programmatically perform a submit Yes, I am referencing 0 and 1 because I am running both forms on the same page (simultaneously). The 0 is for the struts form and the 1 is for the non-struts form. I can programmatically, submit no problem on the non-struts form

Re: unable to programmatically perform a submit

2001-06-21 Thread Norman Timmler
, June 21, 2001 4:23 PM Subject: Re: unable to programmatically perform a submit Yes, I am referencing 0 and 1 because I am running both forms on the same page (simultaneously). The 0 is for the struts form and the 1 is for the non-struts form. I can programmatically, submit no problem on the non

Re: unable to programmatically perform a submit

2001-06-21 Thread Spencer Smith
]; [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 9:28 AM Subject: Re: unable to programmatically perform a submit hi michelle, could you please post the specific part of your source-code from your browser. this would help to resolve your problem. thanks. norman - Original Message

Re: unable to programmatically perform a submit

2001-06-21 Thread Roland Huss
Spencer Smith [EMAIL PROTECTED] writes: // Submit the form. a href=javascript: parent.window.content.document.forms[0].submit()Submit/a We use this bit of code to trigger the submit button in the body from the top frame. Sorry, I didn't follow the complete thread. We ran in the same

Re: unable to programmatically perform a submit

2001-06-21 Thread Michelle Popovits
to programmatically perform a submit Bill, Did you name your submit button submit ? I came across this problem as well. It appears that you cannot name an object on your screen the same thing as a javascript action, for example, submit(). When I renamed by submit button to btnSubmit