Re: Call Struts Action from JS

2003-01-09 Thread Gus Delgado
;<%=request.getContextPath()%>/getAccounts.do"; formObject.submit(); -Original Message- From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 11:20 AM To: 'Struts Users Mailing List' Subject: RE: Call Struts Action from JS What ty

RE: Call Struts Action from JS

2003-01-08 Thread Andrew Hill
27;Struts Users Mailing List' Subject: RE: Call Struts Action from JS Hi, IE 5.0 seems to be treating document.forms[0].action as an "Object", where as, earlier I used it directly set an URL string many times. Any ideas? Suresh >-Original Message- >From: Siggelkow, B

RE: Call Struts Action from JS

2003-01-08 Thread Suresh Addagalla
:54 PM >To: 'Struts Users Mailing List' >Subject: RE: Call Struts Action from JS > > >Also, I meant to say that the error from IE is saying that in >its DOM it doesn't have the property you are referring to. If >the formObject is actually the form itself then

RE: Call Struts Action from JS

2003-01-08 Thread Siggelkow, Bill
=request.getContextPath()%>/getAccounts.do"; formObject.submit(); -Original Message- From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 11:20 AM To: 'Struts Users Mailing List' Subject: RE: Call Struts Action from JS What type of ob

RE: Call Struts Action from JS

2003-01-08 Thread Siggelkow, Bill
What type of object is formObject? That is, how are you calling this function (e.g. from onclick? or some other event handler). If 'formObject' is actually the 'document' then you would do something like ... formObject.forms[0].action="<%=request.getContextPath()%>/getAccounts.do"; formObje