Question: Is there any way to implement a multi-threading execution in Javascript.
I am implementing a pagination in my application, with a target of the minimum waiting time for the user. Neither I want all the data to be brought to the client-side in one go, nor do I want to make a server as well as a DB hit on every "next/previous" button clicked.
So I want the browser to create a request and update my data list, while the front end user has not reached the last page.

If there is anyone who has implemented this, then please suggest me.

Answer: 
You can use setInterval of and setTimeOut function to gain multi-threaded effect but it is not true multi-threading you can read nice discussion [here](https://stackoverflow.com/questions/4037738/does-this-behavior-of-setinterval-imply-multithreading-behavior-in-javascript)
You might consider looking at the infinite scrolling technique. There are a number of plugins out there that facilitate this, including [Paul Irish's Infinite Scroll](https://github.com/paulirish/infinite-scroll).

This is the same technique used by sites like Twitter so that the page updates as the user scrolls down, creating a seamless UI experience for the user and eliminating delays.