Dear all.
I have wrote the following code but its not woring properly. Please suggest what to do
Code:<html> <Body> <Center> <table width="50%" border="1"> <td><input type="button" name="cmdNew" value="New Record"/></td> <td><input type="button" name="cmdSave" value="Save Record" onclick="GoSave()"></td> <td><input type="button" value="Reset Values" onclick="goReset"/></td> <td><input type="button" name="cmdDelete" value="Delete Record"/></td> <td><input type="button" name="cmdBack" value="Back to Home" onClick="GoMain()"/></td> </table> <table width="100%" border="0" bgcolor="#0099FF"> <tr> <th height="28" scope="col"><span class="style1">NEW CIO PROFILE</span></th> </tr> </table> <BR><BR><BR><BR><BR><BR> <Form method="post" action="NewCioProfile.asp"> <script language="VBScript"> Sub GoMain() <% response.Redirect("main.asp") %> End Sub Sub GoSave() if mcioid="" then msgbox "23323" end if End Sub Sub GoReset() cioid.Value="" cioname.Value="" supername.Value="" End Sub </script> <table Width="50%"> <tr><td></td></tr> <Tr> <td>CIO ID</td><td><input type ="text" name="CIOId" size="10" maxlength="10"></td> </tr> <tr> <td>CIO Name</td><td><input type ="text" name="CIOName"></td> </tr> <tr> <td>Spervisor Name</td><td><input type ="text" name="SuperName"></td> </tr> <tr> </tr> </Table> </Form> </Center> </Body> </html>




Reply With Quote