Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 jQuery Mobile 弹出窗口中有一个 textarea 和一个链接。当我单击链接时,文本区域会自动聚焦并显示键盘。(在 ios 上)我想通过单击链接重定向到另一个页面,但在它重定向之前,键盘显示这不是必需的,因为我不想更改任何文本。
我检查了 jQuery Mobile 1.4.5 演示页面,但它有同样的问题: http ://demos.jquerymobile.com/1.4.5/popup/
但似乎 1.3.1 没有这样的问题。
请帮我!!!
尝试在第一个输入元素之前添加它<button style="position:fixed; top:10px; left:10px; opacity:0"></button>
<button style="position:fixed; top:10px; left:10px; opacity:0"></button>