SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Redirect

  1. #1
    SitePoint Enthusiast
    Join Date
    May 2001
    Location
    London
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Redirect

    I'm trying to find a script that once a submit button is clicked it opens up a new window & the existing page is redirected to a new page. So far, no luck.

    Any help appreciated.
    Jo

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2002
    Location
    Fort Lauderdale
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    <form method=post action='./test.html'>
      <input type=submit value='Go' onClick="window.open('test2.html','title','width=100,height=100');">
    </form>
    Last edited by Vasudevelopa; Apr 24, 2003 at 15:30.

    www.unpossiblemedia.com - A Fort Lauderdale based multimedia company.


Bookmarks

Posting Permissions

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