Using a form (button click) & exit console

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BruceM
    Confirmed User
    • Jul 2001
    • 4084

    #1

    Using a form (button click) & exit console

    Is there a way to use a form on a page with an exit console, but prevent the console from popping if the surfer clicks on the button? Eg. AVS scripts

    I know with normal links you just add the code:

    onclick="exit=false"

    but what can I do with forms?

    thanks,
    Bruce
    SellHealth - Sell Herbal Sex Enhancers, HGH Releasers and more!
    Skype: brucemorrey
  • Lord Assmore
    Confirmed User
    • Mar 2001
    • 588

    #2
    It works with forms too. Just insert the JS snippet in the button tags as follows:
    <input onClick="exit=false" type=submit VALUE='Subscribe'>

    [This message has been edited by Lord Assmore (edited 08-24-2001).]

    Comment

    • BruceM
      Confirmed User
      • Jul 2001
      • 4084

      #3
      Cool, thanks!

      Bruce
      SellHealth - Sell Herbal Sex Enhancers, HGH Releasers and more!
      Skype: brucemorrey

      Comment

      Working...