I'm trying to create new DOM and append it to a div. When the div is
appended, I would like it to be shown after 1sec.

        var e = "<div style='display:none;'>content</div>";
        $("#container").append(e);
        setTimeout(e.show(200), 1000);

This code does not work. The HTML is appended but the show-function
does not work. Hope someone can help me.

Reply via email to