Solved

Embed javascript in link within PDF

Posted on 2004-03-30
4
919 Views
Last Modified: 2013-12-16
Hello,

Does anyone know how to embed a javascript link into a PDF document so that I can pass some variables to an HTML page?

thanks in advance for any help!
0
Comment
Question by:liltyga
  • 2
  • 2
4 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 10714699
When you say "JavaScript link", what exactly do you mean by that?

If it's just JavaScript code, that you would use in a HTML page to control the browser, I'm pretty sure it's not possible with Acrobat. JavaScript in Acrobat is something completely different than JavaScript for the browser. Both use the core JavaScript language, but then they both add application specific extensions to the core language. Any JavaScript that you would add to a link in Acrobat would never get executed by the browser.
0
 

Author Comment

by:liltyga
ID: 10714891
Yes, I was referring to the javascript code that would be used in an HTML page  to control the browser.  I will do some research before I totally cancel the option out.  thanks,
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10905664
Were you able to verify the information I provided?
0
 

Author Comment

by:liltyga
ID: 10907592
well, I found some documentation on the JavaScript issue.  There seem to be some functions in regular JavaScript that you can use, as well as the Adobe Acrobat JavaScript, but I still wasn't able to get it to work, so I'll accept your answer.  Thanks for your help!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe In a previous Experts Exchange article, How To Rename-Move a Batch of PDF Files Based on Contents of the Files (http://www.experts-exchan…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now