Use eval() function while constructing a form element by the function parameter given. may be netscape takes them as strings not objects.
F. ----- Original Message ----- From: "sriram" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, July 11, 2003 2:27 PM Subject: RE: <html:image> doesn't submit the page in netscape??? > preSubmit() code is given below: > > function preSubmit(form, action_value) > { > alert(form); > alert(action_value); > document.forms[0].lrAction.value=action_value; > selPreSubmit(); > //form.submit(); > } // end of preSubmit > > > > > -----Original Message----- > From: Firat TIRYAKI [mailto:[EMAIL PROTECTED] > Sent: Friday, July 11, 2003 5:03 PM > To: Struts Users Mailing List > Subject: Re: <html:image> doesn't submit the page in netscape??? > > > RE: <html:image> doesn't submit the page in netscape???It seems that you don't have the function preSubmit , instead you have a function named selpreSubmit. > > try writing javascript: in the addressbar in netscape, you will see the error console tells you what's wrong with the script you wrote. > > F. > > ----- Original Message ----- > From: sriram > To: 'Struts Users Mailing List' > Sent: Friday, July 11, 2003 1:49 PM > Subject: RE: <html:image> doesn't submit the page in netscape??? > > > Firat > The source is attached. > Sriram > -----Original Message----- > From: Firat TIRYAKI [mailto:[EMAIL PROTECTED] > Sent: Friday, July 11, 2003 4:23 PM > To: Struts Users Mailing List > Subject: Re: <html:image> doesn't submit the page in netscape??? > > > check out the source in the browser. Would you please send it to here... F. > ----- Original Message ----- > From: "sriram" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Sent: Friday, July 11, 2003 1:22 PM > Subject: <html:image> doesn't submit the page in netscape??? > > > > I'm using <html:image> to submit a page. > > > > It works fine in IE, but not in Netscape 4.7. > > > > Did anybody face this issue before? > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]