Hi,
i want to pass my messages from message resource to javascript function. So i can perorm some validation on client side (complusory field validation and other etc).
i want something like this:
<body onload="loadmessages(<spring:message code="application.ajx.server.error"></spring:message>,<spring:message code="application.publisher.error.ajax.zone"></spring:message>)">
------some code here----
</body>
How i can achieve it?
Regards.
Shahzad


Reply With Quote