输入banner图图片脚本导航/分类

js 针对html DOM元素操作等经验累积

  代码如下:

var totalPanels = $(".scrollContainer").children().size();
alert(totalPanels)
结果为2

累积