struts-user mailing list archives

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

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..

Thanks,
Anurag Garg


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message