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. Manipulating window.confirm()

Manipulating window.confirm()

Scheduled Pinned Locked Moved Web Development
helpquestion
2 Posts 2 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.
  • W Offline
    W Offline
    waxie
    wrote on last edited by
    #1

    Hi guys, I have an issue with my confirm window. I currently am using firefox browsers in 2 PCs. The problem is, the OK button in the other pc generated by window.confirm() shows after the Cancel button (the order of buttons is Cancel - OK instead of OK-Cancel). But in the other pc, it is fine. What may be causing the issue? I was thinking it may be a browser issue but then when i used konqueror, it outputted alright. Is there a way to manually manipulate the buttons? I would appreciate any inputs and suggestions on how I can remedy this petty issue. Thanks! -waxie-

    G 1 Reply Last reply
    0
    • W waxie

      Hi guys, I have an issue with my confirm window. I currently am using firefox browsers in 2 PCs. The problem is, the OK button in the other pc generated by window.confirm() shows after the Cancel button (the order of buttons is Cancel - OK instead of OK-Cancel). But in the other pc, it is fine. What may be causing the issue? I was thinking it may be a browser issue but then when i used konqueror, it outputted alright. Is there a way to manually manipulate the buttons? I would appreciate any inputs and suggestions on how I can remedy this petty issue. Thanks! -waxie-

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      It's not specified what the confirmation box will look like or how it will work. It's up to the browser to offer the message to the user and give the user the opportunity to choose. It's not at all certain that it should be in the form of a dialog box, just because that is the most common solution at the moment. There is nothing you can do to manipulate the buttons, not even the text on the buttons. A browser in a different language will have other texts on the buttons.

      --- b { font-weight: normal; }

      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