为年轻用户替代 Javascript 提示框

2022-01-11 00:00:00 jquery-plugins javascript html jquery-ui

谁能推荐一个更适合年轻用户的 Javascript 提示框替代方案?

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.

相关文章