I have popup window.
when I click "Submit Schedule", I want to close popup window at the same time.
Would you please tell me how to do ??
==========================================================
puts "<form name=Form2 method=post>"
puts "<p><center><INPUT type=\"button\" value=\"Submit Schedule\" name=B3 style=\"font-family: Verdana; font-size: 11px\" onclick=\"return OnButton2();\"></center>\n"
puts "</form>"
puts "</body>\n"
puts "</html>\n"
puts "<script>"
puts "<!--"
puts "function OnButton2() {"
puts " document.Form2.action = \"newsubmitschedules.tcl\""
puts " document.Form2.submit();"
puts " return true;"
puts "}"
puts "//-->"
puts "</script>"
when I click "Submit Schedule", I want to close popup window at the same time.
Would you please tell me how to do ??
==========================================================
puts "<form name=Form2 method=post>"
puts "<p><center><INPUT type=\"button\" value=\"Submit Schedule\" name=B3 style=\"font-family: Verdana; font-size: 11px\" onclick=\"return OnButton2();\"></center>\n"
puts "</form>"
puts "</body>\n"
puts "</html>\n"
puts "<script>"
puts "<!--"
puts "function OnButton2() {"
puts " document.Form2.action = \"newsubmitschedules.tcl\""
puts " document.Form2.submit();"
puts " return true;"
puts "}"
puts "//-->"
puts "</script>"