how to call alert box using jsp -
i facing problem while calling alert box. can know procedure call box in jsp?
my function is
<script type="text/javascript" src="js/ufo.js"></script> <script type="text/javascript"> function foon() { alert("sorry! not valid user!! click here go login!!!"); history.back(1); } </script>
now how call foon()
function inside if statement?
probably want like:
<c:if test="something"><script type="text/javascript">foon()</script></c:if>
alternately embed alert right there, depends on need reuse.
Comments
Post a Comment