摘要: <script> $(function() { $('.sa_p').click( function() { var i = $(this).index(); //定义一个变量 i 为点击列表项可获得其相对于同胞元素的 index 位置 $(this).parent().siblings('div' 阅读全文
posted @ 2020-01-17 15:48 mengqiaini 阅读(276) 评论(0) 推荐(0)