js统计标签数量

js统计标签数量

1、js统计标签的数量写法:document.getElementById("pp").getElementsByTagName("a").lengthjquery这样写。$("#pp a
JavaScript90