我有以下HTML,滚动条:
<div id="parent">
<div id="child1">Something</div>
<div id="child2">Something</div>
<div id="child3">Something</div>
<div id="child4">Something</div>
<div id="child5">Something</div>
<div id="child6">Something</div>
<div id="child7">Something</div>
<div id="child8">Something</div>
<div id="child9">Something</div>
</div>
我的问题是:
我如何在纯粹的javascript中定位div&#39; parent&#39;的滚动条。其中一个孩子?
答案 0 :(得分:6)