Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. change the confirm button

change the confirm button

Scheduled Pinned Locked Moved ASP.NET
javascripttoolsxmlquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nithydurai
    wrote on last edited by
    #1

    I have provided a option in my project. When a user attempts to close the application with out logging out, we used to prompt for a alert too log out. The below said Javascript works well for this. <script type="text/javascript><br mode=" hold=" /> window. önbeforeunload = confirmExit;<br mode=" you="" haven="t finished yet! Please press " cancel=" to continue."); <br mode="hold" /> return false; }<br mode="hold" /> </script><br mode="hold" /> But windows internet explorer prompts another confirmation like this<br mode="hold" /><br mode="hold" />"Are you sure you want to navigate form this page?" and shows ok and cancel button. Is there any possibility to control this option or control the number of buttons in the ie confirm box. </xml>"></script>

    N C B 3 Replies Last reply
    0
    • N nithydurai

      I have provided a option in my project. When a user attempts to close the application with out logging out, we used to prompt for a alert too log out. The below said Javascript works well for this. <script type="text/javascript><br mode=" hold=" /> window. önbeforeunload = confirmExit;<br mode=" you="" haven="t finished yet! Please press " cancel=" to continue."); <br mode="hold" /> return false; }<br mode="hold" /> </script><br mode="hold" /> But windows internet explorer prompts another confirmation like this<br mode="hold" /><br mode="hold" />"Are you sure you want to navigate form this page?" and shows ok and cancel button. Is there any possibility to control this option or control the number of buttons in the ie confirm box. </xml>"></script>

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      nithydurai wrote:

      or control the number of buttons in the ie confirm box

      NO.

      Navaneeth How to use google | Ask smart questions

      1 Reply Last reply
      0
      • N nithydurai

        I have provided a option in my project. When a user attempts to close the application with out logging out, we used to prompt for a alert too log out. The below said Javascript works well for this. <script type="text/javascript><br mode=" hold=" /> window. önbeforeunload = confirmExit;<br mode=" you="" haven="t finished yet! Please press " cancel=" to continue."); <br mode="hold" /> return false; }<br mode="hold" /> </script><br mode="hold" /> But windows internet explorer prompts another confirmation like this<br mode="hold" /><br mode="hold" />"Are you sure you want to navigate form this page?" and shows ok and cancel button. Is there any possibility to control this option or control the number of buttons in the ie confirm box. </xml>"></script>

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        No.

        Christian Graus Driven to the arms of OSX by Vista.

        1 Reply Last reply
        0
        • N nithydurai

          I have provided a option in my project. When a user attempts to close the application with out logging out, we used to prompt for a alert too log out. The below said Javascript works well for this. <script type="text/javascript><br mode=" hold=" /> window. önbeforeunload = confirmExit;<br mode=" you="" haven="t finished yet! Please press " cancel=" to continue."); <br mode="hold" /> return false; }<br mode="hold" /> </script><br mode="hold" /> But windows internet explorer prompts another confirmation like this<br mode="hold" /><br mode="hold" />"Are you sure you want to navigate form this page?" and shows ok and cancel button. Is there any possibility to control this option or control the number of buttons in the ie confirm box. </xml>"></script>

          B Offline
          B Offline
          Brij
          wrote on last edited by
          #4

          Not possible :)

          Cheers!! Brij

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups