Format the text in JavaScript alert box

前端 未结 7 2316
广开言路
广开言路 2020-12-09 02:19

How can I format the text in a JavaScript alert box? I need a word in the text to be underlined.

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-09 02:41

    You can't. Use external lib as JQuery UI Dialog or your own implementation.

提交回复
热议问题