fdf_add_doc_javascript
PHP 4 >= 4.3.0, PHP 5 < 5.3.0, PECL fdf SVN
fdf_add_doc_javascript - Adds javascript code to the FDF document
Code Examples
Example #1 Adding JavaScript code to a FDF
Result: %FDF-1.2
%âãÏÓ
1 0 obj
<<
/FDF << /JavaScript << /Doc [ (PlusOne)(function PlusOne\(x\)\r{\r return x+1;\r}\r)] >> >>
>>
endobj
trailer
<<
/Root 1 0 R
>>
%%EOF