how to write an error message on a jsp by calling a js function from jsp
Posted on 2006-07-07
i am facing the problem of showing an error message on a jsp page once the user clicks a link.
The error message is to be shown on the same page where the link is shown.
the code is as below
(<html:link href="#" onclick="document.write(indexEnableInMatch('pmformforindexing'))">
<bean:message bundle="POIMatches" key="pmr.details.link" />
not abel to understand what code should i write on the the event onClick?
kindly help me