• <bdo id='cWzm3'></bdo><ul id='cWzm3'></ul>

    <legend id='cWzm3'><style id='cWzm3'><dir id='cWzm3'><q id='cWzm3'></q></dir></style></legend>

  • <tfoot id='cWzm3'></tfoot>

    <small id='cWzm3'></small><noframes id='cWzm3'>

        <i id='cWzm3'><tr id='cWzm3'><dt id='cWzm3'><q id='cWzm3'><span id='cWzm3'><b id='cWzm3'><form id='cWzm3'><ins id='cWzm3'></ins><ul id='cWzm3'></ul><sub id='cWzm3'></sub></form><legend id='cWzm3'></legend><bdo id='cWzm3'><pre id='cWzm3'><center id='cWzm3'></center></pre></bdo></b><th id='cWzm3'></th></span></q></dt></tr></i><div id='cWzm3'><tfoot id='cWzm3'></tfoot><dl id='cWzm3'><fieldset id='cWzm3'></fieldset></dl></div>

        Syntax error, unrecognized expression: #layui-layer[object O

        时间:2023-10-30

        <small id='JE7yj'></small><noframes id='JE7yj'>

        • <legend id='JE7yj'><style id='JE7yj'><dir id='JE7yj'><q id='JE7yj'></q></dir></style></legend>
          <tfoot id='JE7yj'></tfoot>
          • <i id='JE7yj'><tr id='JE7yj'><dt id='JE7yj'><q id='JE7yj'><span id='JE7yj'><b id='JE7yj'><form id='JE7yj'><ins id='JE7yj'></ins><ul id='JE7yj'></ul><sub id='JE7yj'></sub></form><legend id='JE7yj'></legend><bdo id='JE7yj'><pre id='JE7yj'><center id='JE7yj'></center></pre></bdo></b><th id='JE7yj'></th></span></q></dt></tr></i><div id='JE7yj'><tfoot id='JE7yj'></tfoot><dl id='JE7yj'><fieldset id='JE7yj'></fieldset></dl></div>
              <bdo id='JE7yj'></bdo><ul id='JE7yj'></ul>
                <tbody id='JE7yj'></tbody>

                  layui layer.open在使用时候出现Syntax error, unrecognized expression: #layui-layer[object Object],这个错误,我是这么定义的:
                  yes : function(layero,index) { //点击弹层的确定按钮时的回调
                  上面的定义会抛出一个异常:
                  jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: #layui-layer[object Object]
                  经过多次测试,发现index必须要放在前面,而success回调函数则刚好相反,如果把index写前面也会报错。这个确定是个坑了。大家遇到要注意
                  yes : function(index,layero) { //点击弹层的确定按钮时的回调
                  像上面这样写就OK了,官方的写法是正确的。但是也没有说明这个有顺序的,大家请留意一下。
                   
                  上一篇:layui获取select选中的文本 下一篇:没有了

                  相关文章

                  • <bdo id='s1zEs'></bdo><ul id='s1zEs'></ul>
                      <legend id='s1zEs'><style id='s1zEs'><dir id='s1zEs'><q id='s1zEs'></q></dir></style></legend>
                    1. <small id='s1zEs'></small><noframes id='s1zEs'>

                      <tfoot id='s1zEs'></tfoot>
                      <i id='s1zEs'><tr id='s1zEs'><dt id='s1zEs'><q id='s1zEs'><span id='s1zEs'><b id='s1zEs'><form id='s1zEs'><ins id='s1zEs'></ins><ul id='s1zEs'></ul><sub id='s1zEs'></sub></form><legend id='s1zEs'></legend><bdo id='s1zEs'><pre id='s1zEs'><center id='s1zEs'></center></pre></bdo></b><th id='s1zEs'></th></span></q></dt></tr></i><div id='s1zEs'><tfoot id='s1zEs'></tfoot><dl id='s1zEs'><fieldset id='s1zEs'></fieldset></dl></div>