11.07.2015 Views

FOXIT READER 5 - Parent Directory

FOXIT READER 5 - Parent Directory

FOXIT READER 5 - Parent Directory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>FOXIT</strong> <strong>READER</strong> 5.0User ManualUsing JavaScript ConsoleJavaScript Console is a control panel for the execution and debugging ofJavaScript code. Serving as a debugging aid, it is quite useful for displayingdebug messages and executing JavaScript.To active the JavaScript console, select Forms > JavaScript Console, and do thefollowing:A. In the pop-up JavascriptConsole dialog box, typeyour JavaScript code, orclick Open and select one ofthe file with js format.B. Click Run button to run yourJavaScript code. You will beprompted that the code hasrun successfully. When thecode goes wrong, it givesyou an error message in themessage box below..Using Document JavaScript CommandDocument JavaScripts are variable and function definitions that are generallyuseful to a given document, but are not applicable outside the document.‣ Variable definitions: Define variables at the document level to make themvisible to any executing script.‣ Function definitions: Define functions at the document level that supportthe user interaction with the document. These functions may be utilityfunctions for handling common tasks for string or number manipulation, orfunctions that execute lengthy scripts called by actions initiated by a user136

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!