0

私はポップアップ画面が1つある画面を実装しています。実際、ポップアップ画面のフィールドに入力すると、フォーカスが上のフィールドに移動します。ここに私のフィドルがあります。http://jsfiddle.net/ravi1989/uhdYv/ 私のこのフィドルには表示されませんが、このコードをメモ帳にコピーしてクロムで実行すると、フォーカスがフィールドの上に移動することがわかります。

次の手順を実行します。1) コードをコピーし、jquery mobile を含む html に保存します。2)クロムで実行します。3) + ボタンのポップアップ画面を押します。最初のフィールドに入力し、日付ピッカーの日付に移動します。次に、フォーカスがフィールドの上に移動します。

cssも挿入してください。私のフィドルでは、問題は表示されません。

Here is my code..!!

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title></title>

    <!-- Extra Codiqa features -->
    <!-- jQuery and jQuery Mobile -->

    <link rel="stylesheet" href="css/jquery.mobile-1.3.1.css">
    <link rel="stylesheet" href="css/jquery.mobile.structure-1.3.1.css">
    <link rel="stylesheet" href="css/jquery.mobile.structure-1.3.1.min.css">
    <link rel="stylesheet" href="css/jquery.mobile.theme-1.3.1.css">
    <link rel="stylesheet" href="css/jquery.mobile.theme-1.3.1.min.css">
    <link rel="stylesheet" href="css/base.css">
    <script src="js/jquery-1.9.1.min.js"></script>
    <script src="js/jquery.mobile-1.3.1.js"></script>


      <!--link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" /-->
    <link type="text/css" href="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.min.css" rel="stylesheet" />       
    <!--script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script-->        
    <script type="text/javascript" src="http://dev.jtsage.com/jquery.mousewheel.min.js"></script>
    <script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.core.min.js"></script>
    <script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.mode.calbox.min.js"></script>
    <script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.mode.datebox.min.js"></script>
    <script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.mode.flipbox.min.js"></script>
    <script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.mode.durationbox.min.js"></script>
    <script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.mode.slidebox.min.js"></script>
    <script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/i18n/jquery.mobile.datebox.i18n.en_US.utf8.js"></script> 





</head>


Please take code from fiddle..I don't know why it is going..?
4

0 に答える 0