开发者

Javascript Dialog box w/ Multiple Buttons

Is there a type of Javascript dialog box (similar to alert) that offers customizable, multiple buttons (besides "OK") and will return some sort of indication of which button was clicked? I am not looking for a JQuery or third-party dialog/modal box, I'm just wondering if there's something already built into Ja开发者_JAVA百科vascript. As far as I've researched, Javascript only offers alert(), confirm(), and prompt().

Thanks!


Short answer: No.


Sorry nothing like that available to Javascript.


I think if you want something more than the built in alert, confirm and prompt which you already know about, then you will need to use a third party script/library or develop your own modal windows.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜