[jQuery] how to prevent user input while the page is loading

[jQuery] how to prevent user input while the page is loading


I have page that rely heavily on jquery for doing calculation.
I need to prevent user to enter before the page finished loading so
the javascript can be run.
is there simple solutions to do that ? like displaying [loading....]
may be ?
thanks