Results 1 to 3 of 3

Thread: (JavaScript) Alert with OK & Cancel **Resolved**

  1. #1

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    (JavaScript) Alert with OK & Cancel **Resolved**

    I know I have done this before years back but I cannot remember how... I am thinking it wasn't called and alert but cannot find anything on this.
    Michael
    Last edited by msimmons; Sep 26th, 2002 at 04:15 PM.
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  2. #2

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    Found it :)

    Code:
    <!-- * Script from HTMLHelpCentral.com - visit for tutorials, scripts, helpful forums and more! * -->
    <script language="Javascript">
    <!--
    confirm ("This is a Javascript confirm")
    //-->
    </script>
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  3. #3
    Lively Member
    Join Date
    Jul 2002
    Location
    Gateshead, UK
    Posts
    101

    Confirm()

    Yeah, confirm does the trick. It returns either True for "OK", or False for "Cancel", of course.
    <% Session("OwNeD")=True %><html><body>Blah... <%="Now get your ass back to the twilight zone..."%></body></html>

Posting Permissions

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



Click Here to Expand Forum to Full Width