Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

array into javascript?

Status
Not open for further replies.

JimJx

Technical User
Joined
Feb 16, 2001
Messages
202
Location
US
Hi all,

Thanks to KevinADC, I have the array problem that I had straightened out. Now I have another question.

Is it possible for me to get this array into a page without going through and printing all if the HTML manually?

Example, right now the site I am working on (I really *HATE* working on someone elses site) has a LOT of HTML on each page.

I am simply doing a print<<here for a lot of the code, but I cannot figure out a way to get Javascript to access the array I created in PERL. I tried to break up the page with 2 diff print<< statements and putting a while in the middle of them but that completely breaks the page.

So I thought that the next best thing would be to use javescript to access the array, but I can't seem to get it done.

Any help greatly appreciated as always,
Jim
 
Tracy's just posted a couple of FAQs on the AJAX forum. This first one looks like it might do what you want.

FAQ1600-6409

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::PerlDesignPatterns)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top