Uncaught TypeError: b.nodeName.toLowerCase is not a function 2022-04-13 22:09 99阅读 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 文章版权声明:注明蒲公英云原创文章,转载或复制请以超链接形式并注明出处。
相关 Layui 报错:Uncaught TypeError: l.push is not a function layui,这个框架说实在的我用的并不熟悉。今天突然遇到了Uncaught TypeError: l.push is not a function 代码如下: 然后我又... 朱雀/ 2021年07月28日 16:19/ 1 赞/ 10074 阅读
相关 TypeError: instance.render is not a function 1、错误描述 ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly95b3VoYWlkb25nLmJs 旧城等待,/ 2022年01月28日 23:39/ 0 赞/ 50 阅读
相关 TypeError: "_vm.onetopic is not a function" 解决方案 1、方法 onetopic要放在methods:\{\}里面 2、看看自己是不是多个\},导致方法在methods:\{\}外面了 ------------ 浅浅的花香味﹌/ 2022年02月01日 11:15/ 1 赞/ 101 阅读
相关 Uncaught TypeError: b.nodeName.toLowerCase is not a function 1、错误描述 ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0 迷南。/ 2022年04月13日 22:09/ 0 赞/ 100 阅读
相关 Uncaught TypeError: mui(...).scroll(...).scrollTo is not a function mui的scroll组件很好用 ![20190125101331288.gif][] 当我想让其自动回滚到顶点时,看文档是这样[http://dev.dcloud.net. 矫情吗;*/ 2022年04月23日 15:46/ 0 赞/ 113 阅读
相关 TypeError: db.collection is not a function 1、错误描述 F:\nodejs>node insertData.js (node:10028) DeprecationWarning: current UR 比眉伴天荒/ 2022年05月16日 08:11/ 0 赞/ 37 阅读
相关 TypeError:(0 ,jsdom.jsdom) is not a function 在使用`Enzyme`测试容器组件时,为了能使用`mount`方法递归渲染出所有`DOM`,不得不使用`JSDOM`在`Node.js中`模拟一个类似浏览器的环境。于是有了下面 朱雀/ 2022年05月25日 19:57/ 0 赞/ 60 阅读
相关 jquery提交表单报错 Uncaught TypeError: s[y] is not a function 来源: http://stackoverflow.com/questions/29430416/typeerror-s-y-is-not-a-function-error 素颜马尾好姑娘i/ 2022年07月24日 16:07/ 0 赞/ 33 阅读
相关 Uncaught TypeError: XXX.getTime is not a function 因为变量只是字符串,无法调用日期函数。 你应该解析它们以获得一个`Date`对象,对于该格式我总是使用以下函数: // parse a date in yyyy-m 淡淡的烟草味﹌/ 2022年09月27日 17:16/ 0 赞/ 31 阅读
相关 Vue TypeError: this.$confirm is not a function 错误 在使用element ui,采用局部引入时候,报错`TypeError: this.$confirm is not a function`。 ![在这里插入图片 Dear 丶/ 2022年12月23日 14:24/ 0 赞/ 31 阅读
还没有评论,来说两句吧...