did you try to use .click()
?
$('#onebtn').click(function(){
$('#one').fadeOut('slow',function(){
$('#two').fadeIn('slow');
});
});
It may help, but I had no time to test this.
4
solved why doesnt this onclick jquery work? [closed]