1、一个页面里,嵌套了5个iframe,点击iframe里的文本框,需要跳出键盘来输入文字;
2、页面展示在大厅里的屏幕上,不提供实体键盘,只能用软键盘;
3、嵌套的iframe页面是第三方,无法修改;
本来是考虑引入键盘插件,但是嵌套的iframe里的文本框无法控制,键盘输入的文字进入不到文本框里,所以放弃;
现在是想,在点击文本框时,调用系统的屏幕键盘,并把键盘的位置移动到input的下方。一直找不到控制的方法。
下面是系统键盘图片:
突然发现还有个键盘:
有相关思路能提供的大神吗?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<style>
iframe{
width: 1000px;
height: 800px;
}
</style>
123
<iframe id="#welIfr1" frameborder="0" src="https://www.baidu.com/"></iframe>
<iframe id="#welIfr2" frameborder="0" src="https://www.baidu.com/"></iframe>
<div class="test"></div>
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
<script type="text/javascript">
</script>
</body>
</html>