2
我的問題是如何將輸入放在MessageDialog(Textbox ...)中。這裏是一個按鈕的代碼:在消息對話框中輸入[HTML/Javascript]
var msg = new Windows.UI.Popups.MessageDialog("<div>lol</div>", "Updates available");
enter code here
msg.commands.append(new Windows.UI.Popups.UICommand("Don't install", function (command) {
WinJS.log && WinJS.log("The 'Don't install' command has been selected.", "sample", "status");}));
msg.defaultCommandIndex = 1;
msg.showAsync();
加入微軟地鐵標籤。你將來也應該這樣做。 – GottZ