Previous | Next | (P-PDF) Job Opportunities
Topic: Re: text box to document level
Conf: (P-PDF) Job Opportunities, Msg: 41218
From: kt
Date: 5/29/2002 03:27 PM
> From: "Clinton"
>
> I'm trying to array1.concat.array2. I have created an array in a text box and
> am trying to add to an existing array at the document level Is this possible?
> Some hint with the code would be much appreciated.
> Many thanks
> Clinton
One way is:
var x = array1.concat(array2);
Another way is:
var x = [].concat(array1,array2);
Still another way is to convert to joined strings, then split to one array:
var x = (array1 + ',' + array2).split(',');
-------------------------------------------
Kas Thomas
Read the AcroRage column every week at
http://www.acroforms.com/cgi-bin/rage.pl
-------------------------------------------