本文介紹了為年輕用戶替代 Javascript 提示框的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
誰能推薦一個更適合年輕用戶的 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.
這篇關于為年輕用戶替代 Javascript 提示框的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!