Can anyone help me with this?
They would open for a split second and then close on their own. You can't even read the message because they flash so fast. But you can hear the sound a couple of seconds later.
Worse, the confirm dialog box would sometimes select the OK option on its own!
My original codes are long, but I tested it with this little code below and the problem still persists:
<input onClick="alert('test');" type="image" src="/image/button.gif" width="100" height="50" border="0">
I also tried to add "return false" or "return true" after alert() but still same problem.
What is wrong with this code? How can I make the dialog box work normally?