SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Threaded View

  1. #1
    HI silver trophy Silverado4x4's Avatar
    Join Date
    Jan 2001
    Location
    USA
    Posts
    953
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Right now, the page will only pop up if the user clicks the submit button. I would like it to pop up when someone presses the enter button. How would I do this?

    Here is the code I am using:
    Code:
    <form action="http://www.jokes-central.com/cgi-bin/maillist/mojo.cgi">
    <input type="hidden" name="flavor" value="subscribe">
    <input type="hidden" name="list" value="Updates_And_Jokes">
    <input type="text" name="email" size="10" value="your e-mail">
    <input type="submit" value="Subscribe" 
    onClick="window.open('http://www.jokeemail.com/jc_thankyou.htm')">
    </form>
    Last edited by Silverado4x4; Mar 25, 2001 at 20:43.


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
  •