I want to play some animations when loading element's innerHTML, here is my code:
function loadslide(){
...
$('.m').html($('.bigSlider div:nth-child(1)').html()).fadeIn("slow");
}
$('.rightarrow').click(function(event){
event.preventDefault();
loadslide();
});
but no animation is shown when I click the button.