Applies to
PDFActionJavaScript object
Description
Specifies a piece of JavaScript as the action to be executed.
Usage
In scripts
The following scripts bind the JavaScript script with the PDFActionNamed object lpdf_javascript, and then add it as a action to be triggered at the PDFFormFieldEvent_Down! event.
lpdf_javascript.script = "app.alert(~"PDFActionJavaScript ~");" lpdf_pushbutton.addaction(PDFFormFieldEvent_Down!,lpdf_javascript)