Loading the table content after the page loads???

Hi to all,

I am writing this question to this section but I am not sure it really fits here. Anyway I have a table on my upper part of the page this table's content calls to an external php file (this file refers to a javascript that counts the words on the page...) I want to call the file after the page loads for counting the words correctly. I can do this by putting the table at the bottom of the page but I want to show the content on the upper part of the page is there a way to do this by php or javascript?

I think the code must be like php timers that says this page loads in 4.37 seconds... But I am not sure

Any help greatly appreciated,
Cem Louis
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

1. Modify your code to be a function, lets name it myFunction.
2. Modify your body tag and add the onload event to call that function.

<body onload="myFunction()" />

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.