我想用类chartbar删除div里面的div
这是我的 HTML代码
这是我的 HTML代码
- <div class="chartsbar" style="position: absolute; bottom: 0px; left: 27.28%; display: none; height: 0%; background-color: rgb(7,134,205); color: rgb(255,255,255); width: 0.9730252100840335%; text-align: left; " rel="0" title="09-09-2012 - 0 (0%)">
- <div style="text-align:center">
- 0
- </div>
- <span style="display: block; width: 100%; position: absolute; bottom: 0; text-align: center; background-color: #0786CD;">
- 09-09-2012
- </span>
- </div>
我试过了
- $('.chartsbar').find('div').first().remove();
但似乎没有奏效.