Custom choices in JavaScript confirm dialog

后端 未结 4 1383
情深已故
情深已故 2020-11-27 22:22

How to write a confirm dialog in JavaScript with custom choices?

Instead of just "Ok" and "Cancel", I would like to have for example "This&qu

4条回答
  •  不知归路
    2020-11-27 22:52

    You can't. Use some javascript UI (jQuery UI, YUI, Mootools) library and mimic a dialog you need.

提交回复
热议问题