3

jqModal ボックスにログインフォームを作成しました。すべて正常に動作しますが、Android (4.0.3 samsung galaxy tab2) ネイティブ ブラウザでそのフォームを開くと、ログイン フィールド ブラウザにログインを入力しようとすると、単語予測でキーボードが開きます。効果は、予測された単語の最初の文字とスペースのみを配置できることです。
私の質問は、世界予測でキーボードを無効にし、標準のブラウザ キーボードを使用する方法です。

...
<a href="#" class="gotologin" title="login">Login</a>
...
<div class="jqmWindowLogin jqmID2" id="login_modal" style="display: none;">
    <div class="jqmContent">
        <div id="log_reg">
            <form action="<some action here>" method="post" id="login_form">
                <label for="login">login/email:</label>
                <input type="text" name="input_field_login" id="login" class="text" />
                <label for="pswd">password:</label>
                <input type="password" name="input_field_pass" id="pswd" class="text"/>
                <input type="submit" value="go" id="Image1"/>
            </form>
        </div>
    </div>
</div>
...

$('#login_modal').jqmShow();
$.fn.jqmShow=function(t){return this.each(function(){t=t||window.event;$.jqm.open(this._jqm,t);});};
//jqModal version 1.4

jqmOverlayの位置を単純なサイト(リンクとログインモーダルボックスのみが含まれている)で固定から絶対に変更すると、入力メソッドは正常に機能しますが、cmsページでは依然として間違っていることがわかりました。

4

1 に答える 1

1

autocomplete=false入力で属性を試しましたか?

<input type="text" name="input_field_login" id="login" class="text" autocomplete="false" />
于 2014-02-17T00:36:09.790 に答える