Adobe acrobat forms javascript object specification 사용자 설명서

다운로드
페이지 64
Acrobat Forms - JavaScript Object Specification
19
Console Object
The Console object is a static object to access the JavaScript console for displaying debug
messages. It functions only within Acrobat Exchange.
Console Methods
show
Parameters: none
Returns: none
This method shows the console window.
hide
Parameters: none
Returns: none
This method closes the console window.
println
Parameters: cMessage
Returns: none
This method prints the string value of cMessage to the console window with an accompanying
carriage return.
Example:
// This example prints the value of a field to the console window
var f = event.target;
console.println("Field value = " + f.value);
clear
Parameters: none
Returns: nothing
This method clears the console windows buffer of any output.