struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arpan <arpan.deb...@gmail.com>
Subject Re: checking fielderrors into javascript
Date Fri, 24 Jun 2011 17:15:06 GMT
yes right..but i cant use the same in javascript..

On Fri, Jun 24, 2011 at 10:19 PM, Dave Newton <davelnewton@gmail.com> wrote:

> On Fri, Jun 24, 2011 at 12:47 PM, Arpan wrote:
> > Can I aceess the field errors in java script?
> > like : document.getElementById("fieldErrors") or how can i get the value?
>
> ...
>
> Let's take a step back: how would you access a simple action property
> in JavaScript, assuming, say, you were doing it on a JSP page?
>
> var foo = "${theActionProperty}";
>
> Correct?
>
> Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message