[jQuery] $(document).ready does not work in IE

[jQuery] $(document).ready does not work in IE


Hi All
A simple script starting from
    $j(document).ready(
    function(){
........
})
Does not work in IE (FF and other browsers are OK). Placing it before
</body> makes everything working. It looks as IE tries to execute the
script before building DOM tree, though (document).ready implies that
it should wait for DOM.
Am I missing something here? Plese, advise,
Thanks
A