Can I aceess the field errors in java script? like : document.getElementById("fieldErrors") or how can i get the value?
On Fri, Jun 24, 2011 at 10:08 PM, Dave Newton <davelnew...@gmail.com> wrote: > On Friday, June 24, 2011, Arpan <arpan.deb...@gmail.com> wrote: > > In my JavaScript method I want to check if the page has got any > fielderror > > or messege. > > > > How to access these struts2 objects into java script.Any example? > > Just write the JavaScript in something (JSP, FreeMarker, etc.) that > processes server-side code. Or validate via Ajax. > > Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >