Uncaught TypeError: b.nodeName.toLowerCase is not a function 2022-04-13 14:09 408阅读 0赞 1、错误描述 ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3lvdTIzaGFpNDU_size_16_color_FFFFFF_t_70][] jquery和HTML属性冲突 2、错误原因 在界面中,定义一个输入框,name属性给nodeName,这个名称跟jquery中有冲突 <form> <table class="mytable"> <tr> <td> <span class="requiredSign">*</span>名称 </td> <td> <input type="text" id="nodeName" name="nodeName" class="required"/> </td> </tr> <tr> <td> <span class="requiredSign">*</span>日期 </td> <td> <input type="text" id="date" name="date" class="Wdate required" onClick="WdatePicker({startDate:'%y-%M-%d',dateFmt:'yyyy-MM-dd',alwaysUseStartDate:true})"/> </td> </tr> <tr> <td colspan="2"> </td> </tr> </table> </form> 3、解决办法 将输入框中的name属性nodeName改成其它的描述 <form> <table class="mytable"> <tr> <td> <span class="requiredSign">*</span>名称 </td> <td> <input type="text" id="nodeNames" name="nodeNames" class="required"/> </td> </tr> <tr> <td> <span class="requiredSign">*</span>日期 </td> <td> <input type="text" id="date" name="date" class="Wdate required" onClick="WdatePicker({startDate:'%y-%M-%d',dateFmt:'yyyy-MM-dd',alwaysUseStartDate:true})"/> </td> </tr> <tr> <td colspan="2"> </td> </tr> </table> </form> [watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3lvdTIzaGFpNDU_size_16_color_FFFFFF_t_70]: /images/20220413/f110b108813f4765ae3fc69a556dbadf.png
相关 Uncaught TypeError: xxx is not a function 原文地址:[https://blog.csdn.net/u011870547/article/details/52765811][https_blog.csdn.net_u01 ╰半夏微凉°/ 2023年11月22日 06:51/ 0 赞/ 40 阅读
相关 Uncaught (in promise) TypeError: canvas.getContext is not a function 被渲染的canvas标签,必须是`canvas`… 以下是好的 <canvas id="the-canvas" ></canvas> 以下是不可以的 < 秒速五厘米/ 2022年12月29日 06:37/ 0 赞/ 138 阅读
相关 Uncaught TypeError: XXX.getTime is not a function 因为变量只是字符串,无法调用日期函数。 你应该解析它们以获得一个`Date`对象,对于该格式我总是使用以下函数: // parse a date in yyyy-m 淡淡的烟草味﹌/ 2022年09月27日 09:16/ 0 赞/ 314 阅读
相关 Uncaught TypeError: $(...).customFileInput is not a function 1、错误描述 demo.js:214 Uncaught TypeError: $(...).customFileInput is not a function 你的名字/ 2022年06月10日 05:18/ 0 赞/ 194 阅读
相关 TypeError: $(...).form is not a function 这两天在做图片上传的时候遇到了一个问题,通过$(...).form初始化form表单时总是报TypeError: $(...).form is not a function 红太狼/ 2022年06月05日 06:38/ 0 赞/ 114 阅读
相关 Uncaught TypeError: c(...).off is not a function(… layer.open({ title: 'test', content: 'hello layer' }) 运行上面的代码,能弹出对话框,但按确定对话框不消失. 控制 喜欢ヅ旅行/ 2022年05月29日 13:05/ 0 赞/ 299 阅读
相关 Uncaught TypeError: document.getElementsById is not a function document.write和innerHTML的区别 1.innerHTML <p>标题:写在时光里的旧故事</p> <div id="sg">你好,时 曾经终败给现在/ 2022年05月12日 08:22/ 0 赞/ 166 阅读
相关 Uncaught TypeError: mui(...).scroll(...).scrollTo is not a function mui的scroll组件很好用 ![20190125101331288.gif][] 当我想让其自动回滚到顶点时,看文档是这样[http://dev.dcloud.net. 矫情吗;*/ 2022年04月23日 07:46/ 0 赞/ 474 阅读
相关 Uncaught TypeError: b.nodeName.toLowerCase is not a function 1、错误描述 ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0 迷南。/ 2022年04月13日 14:09/ 0 赞/ 409 阅读
相关 Uncaught TypeError: form.render is not a function 引言:一直报这个错误,刚开始不知道哪里的问题,后来才明白原来是,引入的layui.js跟引入jquery的包产生了冲突。 把引入的js包注释掉就可以了,不会产生冲突了。 < 我会带着你远行/ 2021年09月22日 23:14/ 0 赞/ 360 阅读
还没有评论,来说两句吧...