<%-- 
    Document   : eedit
    Created on : Mar 21, 2010, 8:18:03 PM
    Author     : Sreekanth
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<jsp:include page="menu.jsp"></jsp:include>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script>
            function fun()
            {
                document.forms["f1"].submit();
                //window.alert("hi");
            }
            
        </script>
    </head>
    <body bgcolor="bisque"><% if(request.getAttribute("sree")!=null)
                           out.println(request.getAttribute("sree"));%>
     <form name="f1" action="eedit2.jsp" method="POST">
        

     <center><table border="1">
<thead>
<tr>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>Enter Question Number</td>
<td></td>
<td><input type="text" name="qno" value="" size="35"  onblur="fun()"/></td>
<td></td>
</tr>
<tr>
<td>Enter Question</td>
<td></td>
<td><input type="text" name="qname" value="" size="35" /></td>
<td></td>
</tr>
<tr>
<td>Enter Answer</td>
<td></td>
<td><input type="text" name="ans" value="" size="35" /></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td><input type="submit" value="Update" name="ok" /></td>
<td></td>
</tr>
</tbody>
</table></center>

         
         
         
     </form>
    </body>
</html>
