较年轻的用户可以使用Javascript提示框替代 [英] Alternative to Javascript prompt box for younger users
本文介绍了较年轻的用户可以使用Javascript提示框替代的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以提出对Java提示框更好的替代方案吗?
Can anyone can suggest an alternative to Javascript prompt box that is better for young users?
prompt("Please enter your name:", "Harry Potter");
由于需要为儿童设计输入框,因此我希望提示框更加生动有趣.我可以使用任何建议的现有包装盒吗?
要求是我必须让用户输入一个字符串,然后接收它.
Since the input box needs to be designed for children, I want the prompt box to be more colorful and lively. Any suggested existing box that I can use?
The requirement is that I have to let the user enter a string, receiving it.
推荐答案
您是否尝试过jQuery UI库?
Have you tried the jQuery UI library?
在这里您可以看到模态形式
您可以修改样式或从不同主题中选择.
You can modify the styles or select from different themes.
这篇关于较年轻的用户可以使用Javascript提示框替代的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文