alert($("#bottomTbodyTable tr [data-testlog]").length); // display value 0
alert($("#bottomTbodyTable tr").data("testlog")); // display the correct value
在这个属性的显示过程中有明确的值时,我无法理解值 0。
alert($("#bottomTbodyTable tr [data-testlog]").length); // display value 0
alert($("#bottomTbodyTable tr").data("testlog")); // display the correct value
在这个属性的显示过程中有明确的值时,我无法理解值 0。