Side navigation
#3246 closed bug (invalid)
Opened August 12, 2008 02:08PM UTC
Closed August 12, 2008 05:46PM UTC
Effects with appends or htmls.
Reported by: | Nile | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 1.3 |
Component: | core | Version: | 1.2.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If you do something like this:
$(document).click( function (){ $("p").fadeOut("fast"); $("p").html("Text, of course different text. :)"); $("p").fadeIn("slow"); });
It changes the HTML before it fades out.
Attachments (0)
Change History (5)
Changed August 12, 2008 02:09PM UTC by comment:1
Changed August 12, 2008 02:12PM UTC by comment:2
$("p").fadeOut("fast").html("Text, of course different text. :)").fadeIn("slow");
or
$("p").fadeOut("fast",function(){$(this).html("Text, of course different text. :)");}).fadeIn("slow");
Changed August 12, 2008 02:34PM UTC by comment:3
Replying to [comment:2 cloudream]:
$("p").fadeOut("fast").html("Text, of course different text. :)").fadeIn("slow"); or $("p").fadeOut("fast",function(){$(this).html("Text, of course different text. :)");}).fadeIn("slow");
Thank you.
Changed August 12, 2008 03:01PM UTC by comment:4
Oh, and the first one doesn't work. But that second one is great!
Changed August 12, 2008 05:46PM UTC by comment:5
resolution: | → invalid |
---|---|
status: | new → closed |
I hope someone can help.