Results 1 to 3 of 3

Thread: Close popup form after n seconds

  1. #1
    Join Date
    Jul 2009

    Question Close popup form after n seconds

    I have a form that looks like this:

    <form method="POST" action="'.$_GET[site].'/login.php" name="forma"><br>
    Userid:<br><input type="text" name="userid" value="'.$_GET[user].'"><br>
    Password:<br><input type="password" name="password" value="'.$_GET[pass].'"><br>
    <input type="submit" name="login" value="Login">

    A line in the body submits this form OnLoad. What i need is a way to close the popup that this has opened after say 20 seconds. The popup is NOT on my page and out of my control. Any suggestions ?

  2. #2
    Join Date
    Jul 2009
    i have a theory - maybe i could put it in an iframe, so i wouldn't loose control over it ? But i don't know how to implement this

  3. #3
    Join Date
    Jul 2009
    Executed exactly what i wanted bi using an iframe. Sorry for the multi-post, couldn't find the edit button...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles