struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anurag Garg" <>
Subject <html:errors /> tag in javascript alert
Date Fri, 13 Jun 2003 05:27:37 GMT

I want to display the validation error message from ActionForm in javascript
alert box, ragther than displaying on my jsp page.
I am doing it in a javascript function at page load time like this,

alert(<html:errors />)

But i am getting the java script error saying "Object expected". Any
solution for this problem..

Anurag Garg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message