Message when form is loading ,which has embedded view

Hi,

I have a form which has an embedded view in it.The form takes long time to load so i want a message on the white screen,when the page is loading saying that,“Please wait… Page is loading”.

I ahve tried using java script to do this but its not working…

Kindly help in this regard

Thanks in advance

Rajeshri Nair