Close browser window

Results 1 to 3 of 3

Thread: Close browser window

  1. #1
    Join Date
    Dec 1969

    Default Close browser window

    I have a form that resdirects to a page saying thank you form submiting this form. Is there a way to have the browser window close after about 10 seconds.

  2. #2
    Join Date
    Dec 1969

    Default java

    i think... check syntax of setInterval... may not need the parens for close either...<BR>self.setInterval(self.close(),1000)<B R><BR>sponge

  3. #3
    Join Date
    Dec 1969

    Default Not Java! JavaScript!!!

    They are two completely different things.<BR><BR>Besides the name of the programming language, you got everything else right, although, the time is measured in milliseconds so you&#039;ll need 10000 of them.<BR><BR>Let me just clarify everything:<BR><BR>&#060;BODY onLoad="self.setInterval(self.close(),10000);"&#06 2;<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts