I am a little confused as to what exactly document.ready does. According to the tutorial by john resig, document.ready should contain code that needs to be ran when the page is done loading.
What if I have code that declares tabs..or code that puts zebra stripes on tables?
should all that go under document.ready? Wont' there be cases when users see the content loaded first and then see zebra highlights and tabs loaded?