How to use a javascript before the PDF document has loaded. I need a script that once the user click on the pdf document and is loaded, displays a message i.e (Welcome to form. Please fill details and press submit). After they click OK, it returns to the normal form.