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