how to print 2 alerts consecutives WinJS
问题 I want to print two alerts on my app, one to show an application and after pressing close button on first alert to show the second alert Windows.UI.Popups.MessageDialog("Hello Welcome").showAsync(); Windows.UI.Popups.MessageDialog("Welcome to my app").showAsync(); if I just print an alert, everything works good but on the other scenary (two alerts) the code stops with an error, how to fix that?? 回答1: You can't have multiple MessageDialog s open at the same time. Since the showAsync returns