Planet PDF Forum Archive

Planet PDF  ForumThe page you are viewing is part of our 160,000 page discussion forum archive. See below for PDF-related discussions spanning 1999-2008. To ask questions and get help, head to the live Planet PDF Forum.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) JavaScript


Topic: Javascript Limitation
Conf: (P-PDF) JavaScript, Msg: 27802
From: lmp
Date: 9/29/2001 02:09 PM

The Javascript is limit 32k. If you write javascript over 32k, the program is automatically disappear. You can divide your program into 2 functions(for example
1. list()
2. secondlist()
but you have to put the variable by global. The global will keep the variale for your document.

My had the project about dynamic paragraphs into document. I write alot of javascripts it happens same
as to you. I can divide the functions into 2,3,4....and i put the global variable to save alot of writing for me. You can try that way. It will work because it work on me.


minh





On 9/27/2001 4:38:00 AM, sperkins wrote:
>I am having a problem with
>keeping the code in the
>Javascript function box. I
>know there may be a limit on
>the size of the javascript
>that you can have in there.
>Right now it is at 14k. I'm
>trying to paste javascript
>into the function that is only
>18k.
>The form should come up and
>the user will need to select a
>state. Once they select the
>state, it will automatically
>populate a field on the first
>page with an english statement
>and on the second page with
>the spanish statement for that
>state. It works now, but if
>more cases are added to the
>JavaScript, when I try to save
>it, the JavaScript disappears
>completly. It will not save
>and the functionality does not
>work.
>The PDF that is attached
>works. If the javascript that
>is in the txt document is
>pasted over the current
>javascript in the file, it
>will not work.
>Does anyone know how to fix
>this problem? Is the
>javascript to big or can
>someone tell me if it can be
>broken apart?




PDF In-Depth Free Product Trials Ubiquitous PDF

Pitstop Pro

Now graphic arts professionals have even broader and more expert control over their PDF documents. With...

Download free demo

ARTS PDF Aerialist

The ultimate plug-in for Adobe Acrobat and #1 selling product at PDF Store. Advanced splitting, merging,...

Download free demo

Ubiquitous PDF: 2009 IRS income tax forms available for download

With less than a month to go until Americans will be scrambling to file their 2009 tax paperwork. Luckily, printable PDF versions of forms such as the 1040 can be downloaded for free from the IRS website.

March 18, 2010
Search Planet PDF
more searching options...







Download PDF Creator

PDF Resources
Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools QuickPDF: The Unrivaled PDF Developer Toolkit

Get Nitro PDF Professional
Featured Product

NITRO PDF Professional

Built from the ground up, the perfect desktop PDF product for business and enterprise. Nitro PDF Professional has an uncompromising feature set so you can create, combine, edit, collaborate on and...

Featured Event

No upcoming events

PDF Store Categories