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.
我正在开发一个 xpages 移动表单来进行全文搜索。如何在 iPad 上隐藏键盘,完成在编辑框中写入文本并执行提交操作后单击“执行”按钮?谢谢
可以使用输入框的blur()方法隐藏键盘:
XSP.getElementById('view:_id1:inputText1').blur();
view:_id1:inputText1 是你输入框的客户端id