[jQuery] $(document) bug?

[jQuery] $(document) bug?


Hi,
I just downloaded the latest version(1.2) and the $(document) object
doesn't seem to be functioning. I tried the new $(document).height()
which always returns 0 (zero) for me and binding the resize event
isn't working for me either. The code:
$(document).height();
$(document).resize(function(){
alert("Stop it!");
});
Is this a bug or am i missing something? :)
thanks,
Hans