替代Javascript提示框 [英] Alternative to Javascript prompt box

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

问题描述

有人可以向我推荐Javascript提示框的替代方案吗?
检查出来。


由于输入框是为儿童设计的,我希望提示框更加鲜艳生动。任何建议的现有盒子?


限制是我必须让用户输入一个字符串并接收它。

Thanks。

解决方案

您是否尝试过jQuery UI库?

您可以在这里看到一个模态表单的示例



您可以修改样式或选择不同的主题。


Does anyone can suggest me the alternative to Javascript prompt box? Check it out.
Since the input box is designed for children, I want the prompt box to be more colorful and lively. Any suggested existing box?
The limitation is that I have to let the user enter a string, receiving it.
Thanks.

解决方案

Have you tried the jQuery UI library?

Here you can see an example of a modal form

You can modify the styles or select from different themes.

这篇关于替代Javascript提示框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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