站长资源网络编程

Jquery 例外被抛出且未被接住原因介绍

整理:jimmy2026/8/6浏览2
简介这个肯定是js代码写错的问题,仔细检查。 譬如我就是 复制代码 代码如下: $(this).find("td").eq(9).find("select").eq(0).removeAttr("asd"); $(this).find("td").eq(9).find("select").eq(0).a
这个肯定是js代码写错的问题,仔细检查。

譬如我就是
复制代码 代码如下:
$(this).find("td").eq(9).find("select").eq(0).removeAttr("asd");
$(this).find("td").eq(9).find("select").eq(0).attr("asd", i);


复制代码 代码如下:
find("select")写成了find(":select");