Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/multithreading/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么焦点移动到上面的字段,而在jquery中打开弹出窗口_Jquery_Jquery Mobile - Fatal编程技术网

为什么焦点移动到上面的字段,而在jquery中打开弹出窗口

为什么焦点移动到上面的字段,而在jquery中打开弹出窗口,jquery,jquery-mobile,Jquery,Jquery Mobile,我正在实现一个屏幕,其中有一个弹出屏幕。实际上,当我填充弹出屏幕中的字段时,焦点会转到上一个字段。这是我的小提琴。 它不会显示在我的这个小提琴上。但若你们在记事本上复制这个代码并在chrome上运行,你们会发现焦点会转到上面的字段 采取以下步骤。 1) 复制代码并将其保存在html include jquery mobile上。 2) 在铬上运行。 3) 按+按钮弹出屏幕。填写第一个字段 然后转到日期选择器设置日期。然后您会看到焦点转到上面的字段 请在我的小提琴中插入css。问题不是显示 Her

我正在实现一个屏幕,其中有一个弹出屏幕。实际上,当我填充弹出屏幕中的字段时,焦点会转到上一个字段。这是我的小提琴。 它不会显示在我的这个小提琴上。但若你们在记事本上复制这个代码并在chrome上运行,你们会发现焦点会转到上面的字段

采取以下步骤。 1) 复制代码并将其保存在html include jquery mobile上。 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..?
这是我的代码。。!!
请从fiddle处获取代码。我不知道为什么会发生。。?

您能否只提供导致问题的代码?目前有太多的代码。实际上重点是向上移动..留下这个问题。。!!请检查这个