I am using JSPs in my application. The code goes like this-
Expand|Select|Wrap|Line Numbers
- <%
- i=0;
- while(i<4) {
- %>
- <form name="Form" action="test.jsp">
- <table align="left" width="100%">
- <tr>
- <td>
- <% out.println("SNo");
- if(condition==true) {
- %>
- TRUE
- <% } else {
- %><input type="submit" name="name" value="Button" align="right">
- <script type="text/javascript">
- alert("Alert Box");
- </script>
- <% }
- %>
- </td>
- <td><%=i></td>
- </tr>
- </table>
- </form>
- <% }
- %>
I want to have an alert message box that appears on the page with the contents being seen.
Can anyone help me in solving this.
Thanks in advance
tiijnar