3
我的问题是两个功能被传递给切换为什么..进出侧的另一功能是存在的,它也混淆PLZ告诉我切换功能
$('#login a').toggle(function() {
$(this)
.addClass('active')
.next('form')
.animate({'height':'show'}, {
duration:'slow',
easing: 'easeOutBounce'
});
}, function() {
$(this)
.removeClass('active')
.next('form')
.slideUp();
});
$('#login form :submit').click(function() {
$(this)
.parent()
.prev('a')
.click();
});
超级兄弟非常感谢你 – Mihir 2010-12-09 11:31:18