• Nike free run 2 pink
  • Nike free 5.0 kids
  • Oakley sunglasses discount
  • CodeAve.com CodeAve.com - JavaScript - Navigation
    ASP
    JavaScript
    ·Document Info
    ·Forms
    ·Images
    ·Miscellaneous
    ·Navigation
    ·Script Writers
    ·Contents
    ·What's New?
    CSS
    HTML
    Maps
    Links
    Mail List
    Search
    Sitemap


     

  • Retro 3 jordans
  • Jordan 13 retro
  • Nike free 5.0

  • Confirm Alert Box
  • Air jordan 11 low
  • New Balance 996
  • Ray ban vintage sunglasses
  • The JavaScript confirm alert box differs from a regular alert box in that it provides two choices for the user, OK and Cancel. Typically, you’ll see confirmation boxes utilized on links where the destination is outside the domain of the page you’re currently on or to alert you of potentially objectionable material. The following example will display a confirmation alert box when either a link or form button is clicked. Once either OK or Cancel are selected an alert box will follow to display which was chosen.
    View the Output
    Text View
    Print View
    Mail this Link
    Download the Code

    <html>
    <body bgcolor="#FFFFFF">
    <title>CodeAve.com(JavaScript: Confirm Alert Box)</title>

    <script language="JavaScript">
    <!--
    function confirm_entry()
    {
    input_box=confirm("Click OK or Cancel to Continue");
    if (input_box==true)


    // Output when OK is clicked
    alert ("You clicked OK"); 
    }

    else
    {
    // Output when Cancel is clicked
    alert ("You clicked cancel");
    }

    }
    -->
    </script>


    Click <a href="JavaScript:confirm_entry()">here</a>


    <p>

    <form onSubmit="confirm_entry()">
    <input type="submit" >
    </form>

    </body>
    </html>

     

     

     



    ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
    Server Variables | Response Objects | Random Events | Miscellaneous
    HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
    JavaScript: Document Info | Forms | Images | Navigation | Script Writers
    CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement

    CodeAve.com is hosted by MyHosting.com
    Donate Food Online with a Mouse Click at TheHungerSite.com
    Donate Land Online with a Mouse Click at TheRainForestSite.com
    © 1999 - 2017 CodeAve.com
    All Rights Reserved

    jordan 11 gamma Nike KD VI lebron 11 low