prevent this page from creating additional dialogs
-
Wednesday, January 04, 2012 11:17 AMhi,I have 3 divs here.. how to "prevent this page from creating additional dialogs" programatically.<head><script type="text/javascript">function alert1(){alert("hello1");}function alert2(){alert("hello2");}function alert3(){alert("hello3");}</script></head><body><div onclick="alert1()"><div onclick="alert2()"><div onclick="alert3()">test</div></div></div></body></html>
All Replies
-
Friday, January 06, 2012 6:27 AMModerator
Hi karthiga,
Welcome to the MSDN forum!
The dialog "prevent this page from creating additional dialogs " is a browser feature to stop websites from showing annoying messages again and again. When I tested the html file in the Internet Explorer, I didn't see the message; when I tested it in a Google Chrome, I could see the message when "hello 2" comes out.
Please refer to the following links:
Have a nice day!
yoyo
Yoyo Jiang[MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Yoyo JiangModerator Friday, January 13, 2012 8:03 AM
- Edited by Yoyo JiangModerator Friday, January 13, 2012 8:03 AM
-
Friday, January 13, 2012 8:02 AMModerator
Hi karthiga,
I am marking my first reply as answer to push the case forward. You can unmark it if it provides no help.
If you still have any concern on this issue, I suggest you try the webbrowser's official forum to ask the questions.
Best Regards,
yoyo
Yoyo Jiang[MSFT]
MSDN Community Support | Feedback to us

