Change text (html) with .animate

后端 未结 7 2060
灰色年华
灰色年华 2020-12-23 20:04

I am trying to animate the html part of a tag ( This Text! ) using jQuery\'s Animate function, like so:

相关标签:
7条回答
  • 2020-12-23 20:40
    $("#test").hide(100, function() {
        $(this).html("......").show(100);
    });
    

    Updated:

    Another easy way:

    $("#test").fadeOut(400, function() {
        $(this).html("......").fadeIn(400);
    });
    
    0 讨论(0)
提交回复
热议问题