//Test function
function createDiv()
{
textContainer = $(document.createElement("div"));
$(textContainer[0]).html(msg);
var ctrlHeight = $(textContainer).height();
textContainer.show();
}
divの高さを確認すると、0が返されますが、を呼び出して確認するとshow
、高さが返されます。なんで?