当文本框在codeNAME专注于WebBrowser组件的An​​dr​​oid键盘不显示 [英] Keyboard not showing when textfield is focused on webbrowser component in codename for android

查看:179
本文介绍了当文本框在codeNAME专注于WebBrowser组件的An​​dr​​oid键盘不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有关于codeNAME一款使用Android操作系统的网络浏览器组件有问题。我从我的PHP服务器加载一个网页,它在Web浏览器组件呈现很好,但是当我在窗体上选择一个输入栏不显示键盘。任何帮助吗?

i have a problem with the web browser component for android on codename one. I have loaded a webpage from my php server and it renders well in the web browser component but when i select an input field on a form it doesn't show the keyboard. Any help?

推荐答案

如果Ajax调用的响应中元素的重点是,键盘是不是在Android和iPhone中。

If element is focused during response of an ajax call, keypad is not shown in android and iphone.

例如单击按钮时,函数的onfocus被调用。
功能的onfocus()
{
    1 // Ajax调用是由
        2 //如果(响应)
      元素集中。
}

for example during button click, function onFocus is called. function onFocus() { 1 // Ajax call is made 2 // if(response) element is focused. }

这篇关于当文本框在codeNAME专注于WebBrowser组件的An​​dr​​oid键盘不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆