js使用对话框3种

1.提示alert(),无返回值

2.确认confirm():返回true  or  false

3.输入prompt():提示信息,返回输入字符

posted @ 2019-06-01 23:52  lingen163  阅读(97)  评论(0编辑  收藏  举报