I want to close this popup window after 10 sec. automatically. Would you please tell me how to do??
and...even though this window page close, does the submit process still working??
Thank you in advance
---------code----------------------
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 "<p><center><font size=\"3\" face=\"Times New Roman, Times, serif\" color=\"#0066FF\"><b><i>After click \"Submit Schedule\", Please wait until you see \"Completed\" and then close window.</i></b></font></center></p>"
puts "</form>"
puts "</body>\n"
puts "</html>\n"
#----------------this part-----------------------------
puts "<script>"
puts "<!--"
puts "function OnButton2() {"
puts " document.Form2.action = \"newschedules.tcl\""
puts " document.Form2.submit();" ;# Submit
puts " return true;"
puts "}"
puts "//-->"
puts "</script>"
#---
and...even though this window page close, does the submit process still working??
Thank you in advance
---------code----------------------
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 "<p><center><font size=\"3\" face=\"Times New Roman, Times, serif\" color=\"#0066FF\"><b><i>After click \"Submit Schedule\", Please wait until you see \"Completed\" and then close window.</i></b></font></center></p>"
puts "</form>"
puts "</body>\n"
puts "</html>\n"
#----------------this part-----------------------------
puts "<script>"
puts "<!--"
puts "function OnButton2() {"
puts " document.Form2.action = \"newschedules.tcl\""
puts " document.Form2.submit();" ;# Submit
puts " return true;"
puts "}"
puts "//-->"
puts "</script>"
#---