1

I have a special request on my table collapse. When i click on the icon arrow down I need it going on the bottom of the div .accordion-group and not staying in the middle as in the Example. I hope that explanation is clear.

How can i achieve that?

Look the example

http://jsfiddle.net/STqCF/70/

Thanks

4

1 回答 1

1

只需在向上箭头和向下箭头类上注册单个点击事件。它们需要是实时处理程序(使用 JSON 的“on”),因为代码运行后类会发生变化。

$('.icon-arrow-down').on('click', function() { move it to the bottom; });
$('.icon-arrow-up').on('click', function() { move it to the top; });
于 2012-08-14T13:17:50.587 回答