alert()提示符 - 复选框 [英] alert() prompt - Checkboxes

查看:145
本文介绍了alert()提示符 - 复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过提醒,您可以输入文字。我希望你能把复选​​框放入。这可能吗?

With alerts you can have text inputs. I was hoping you could put check boxes in. Is this possible?

http://www.w3schools.com/JS/js_popup.asp

推荐答案

不,您需要构建一个对话框才能实现此目的。

No, you would need to build out a dialog box in order to achieve this.

通过 jQuery ,您可以相对轻松地实现这一目标更具体地说是 jQuery UI 插件,允许对话框

You are able to achieve this with relative ease through jQuery and more specifically the jQuery UI plugin, allowing dialog boxes to come up without too much know-how

这篇关于alert()提示符 - 复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆