下面是 Html 结构。现在我想在单击或使用 Jquery时获取 Div ID Inner_1_0
、Inner_1_1
、Inner_1_2
、Inner_1_3
等。那我应该怎么找回。nextButton
prevButton
更多我给了演示链接..请看演示
<div id="Inner_1_0" class="slideItem" style="width: 600px; height: 440px; top: 0px; right: 165px; opacity: 1; z-index: 17; display: block;">
<a href="#" onclick="loadVideo("x_elT6zkqN0");" title="" oh="" jane="" jaana"="" salman="" khan="" full="" song="" |="" pyaar="" kiya="" toh="" darna="" kya"=""><img src="http://img.youtube.com/vi/x_elT6zkqN0/hqdefault.jpg" width="213px" height="141px" style="width: 600px; height: 400px;"></a>
<div class="shadow" style="width: 600px; z-index: -1; position: absolute; margin: 0px; padding: 0px; border: none; overflow: hidden; left: 0px; bottom: 0px;">
<div class="shadowLeft" style="position: relative; float: left;"></div>
<div class="shadowMiddle" style="position: relative; float: left; width: 400px;"></div>
<div class="shadowRight" style="position: relative; float: left;"></div>
</div>
</div>
<div id="Inner_1_1" class="slideItem" style="width: 600px; height: 440px; top: 0px; right: 165px; opacity: 1; z-index: 17; display: block;">
<a href="#" onclick="loadVideo("x_elT6zkqN0");" title="" oh="" jane="" jaana"="" salman="" khan="" full="" song="" |="" pyaar="" kiya="" toh="" darna="" kya"=""><img src="http://img.youtube.com/vi/x_elT6zkqN0/hqdefault.jpg" width="213px" height="141px" style="width: 600px; height: 400px;"></a>
<div class="shadow" style="width: 600px; z-index: -1; position: absolute; margin: 0px; padding: 0px; border: none; overflow: hidden; left: 0px; bottom: 0px;">
<div class="shadowLeft" style="position: relative; float: left;"></div>
<div class="shadowMiddle" style="position: relative; float: left; width: 400px;"></div>
<div class="shadowRight" style="position: relative; float: left;"></div>
</div>
</div>
<div id="Inner_1_2" class="slideItem" style="width: 600px; height: 440px; top: 0px; right: 165px; opacity: 1; z-index: 17; display: block;">
<a href="#" onclick="loadVideo("x_elT6zkqN0");" title="" oh="" jane="" jaana"="" salman="" khan="" full="" song="" |="" pyaar="" kiya="" toh="" darna="" kya"=""><img src="http://img.youtube.com/vi/x_elT6zkqN0/hqdefault.jpg" width="213px" height="141px" style="width: 600px; height: 400px;"></a>
<div class="shadow" style="width: 600px; z-index: -1; position: absolute; margin: 0px; padding: 0px; border: none; overflow: hidden; left: 0px; bottom: 0px;">
<div class="shadowLeft" style="position: relative; float: left;"></div>
<div class="shadowMiddle" style="position: relative; float: left; width: 400px;"></div>
<div class="shadowRight" style="position: relative; float: left;"></div>
</div>
</div>
<div id="Inner_1_3" class="slideItem" style="width: 600px; height: 440px; top: 0px; right: 165px; opacity: 1; z-index: 17; display: block;">
<a href="#" onclick="loadVideo("x_elT6zkqN0");" title="" oh="" jane="" jaana"="" salman="" khan="" full="" song="" |="" pyaar="" kiya="" toh="" darna="" kya"=""><img src="http://img.youtube.com/vi/x_elT6zkqN0/hqdefault.jpg" width="213px" height="141px" style="width: 600px; height: 400px;"></a>
<div class="shadow" style="width: 600px; z-index: -1; position: absolute; margin: 0px; padding: 0px; border: none; overflow: hidden; left: 0px; bottom: 0px;">
<div class="shadowLeft" style="position: relative; float: left;"></div>
<div class="shadowMiddle" style="position: relative; float: left; width: 400px;"></div>
<div class="shadowRight" style="position: relative; float: left;"></div>
</div>
</div>
<div class="nextButton"></div>
<div class="prevButton"></div>