cuetzpalin
Programmer
Hello,
I have a frameset (vertical) that displays headings in the top frame and numerous text boxes in the bottom frame. The bottom frame has a submit and cancel button. The submit button writes the values of the textboxes to a table and works great. However my cancel button does nothing. Please help me! Thank you!
Here is the code:
Main Page:
<frameset rows="14%,50%">
<frame SCROLLING=no frameborder=0 src="AAA_CreateStdOrderForm_a.asp?cus_no=<%=session("ParentStoreID")%>" disabled noresize>
<frame frameborder=0 src="AAA_CreateStdOrderForm_b.asp?cus_no=<%=session("ParentStoreID")%>&UserID=<%=session("UserID")%>">
</frameset>
Page a (won't show code..working fine)
Page b:
<..bunch of text boxes...>
<tr>
<td align=center>
<input type=submit name="submit" value=" Submit " onClick="">
<input type=button name="can" value=" Cancel " onclick='javascript:window.close();'>
</td>
</tr>
I have a frameset (vertical) that displays headings in the top frame and numerous text boxes in the bottom frame. The bottom frame has a submit and cancel button. The submit button writes the values of the textboxes to a table and works great. However my cancel button does nothing. Please help me! Thank you!
Here is the code:
Main Page:
<frameset rows="14%,50%">
<frame SCROLLING=no frameborder=0 src="AAA_CreateStdOrderForm_a.asp?cus_no=<%=session("ParentStoreID")%>" disabled noresize>
<frame frameborder=0 src="AAA_CreateStdOrderForm_b.asp?cus_no=<%=session("ParentStoreID")%>&UserID=<%=session("UserID")%>">
</frameset>
Page a (won't show code..working fine)
Page b:
<..bunch of text boxes...>
<tr>
<td align=center>
<input type=submit name="submit" value=" Submit " onClick="">
<input type=button name="can" value=" Cancel " onclick='javascript:window.close();'>
</td>
</tr>