Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/402.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
Javascript IE11不允许我在输入字段中键入内容_Javascript_Html_Css_Internet Explorer_Internet Explorer 11 - Fatal编程技术网

Javascript IE11不允许我在输入字段中键入内容

Javascript IE11不允许我在输入字段中键入内容,javascript,html,css,internet-explorer,internet-explorer-11,Javascript,Html,Css,Internet Explorer,Internet Explorer 11,对于下面的代码,我可以在使用firefox时在输入字段中键入任何文本。然而,IE11中的情况并非如此 <li class="gridster-form" aria-labeledby="Gridster Layout Form" alt="Tile Display Input column Input Row"> <span class="dropdown-tex

对于下面的代码,我可以在使用firefox时在输入字段中键入任何文本。然而,IE11中的情况并非如此

          <li class="gridster-form"
                aria-labeledby="Gridster Layout Form"
                alt="Tile Display Input column Input Row">
                <span class="dropdown-text">
                    Col <input type="text" value='tiledata.col' ng-model="tiledata.col" size="1" class="input-col ng-pristine ng-untouched ng-valid">
                    Row <input type="text" value='tiledata.row' ng-model="tiledata.row" size="1" class="input-row ng-pristine ng-untouched ng-valid">     
                    <i class= "fa fa-arrows"></i>
                </span>
            </li>
  • 上校 一行

  • 我怎样才能更改它?

    您的结构如下:

    这是无效的

    由于它是无效的,浏览器可以自由地尝试理解您的意思。Firefox给予输入元素优先权并允许您使用它们。Internet Explorer正在赋予链接优先级,而不允许您使用子输入

    两个浏览器都不正确,因为没有正确答案


    修复你的HTML。你应该对最后一句话使用更大更粗体的字体。@PA。你明白了:pI去掉了锚标记,但stll同样的问题,请参阅上面编辑的代码。以后用检查你的标记。