;<%=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
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
: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
=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
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
5 matches
Mail list logo