If you are looking for a source code to have an Auto Refresh function to your projects then you are at the right place. There are many sites that have this function to refresh their page automatically.
I know some of you wants to know how Facebook developed their recent posts automatically. Well, I tried creating one using jQuery and Ajax with some simple lines of code. Enjoy!