How to call the RunJavaScript function in FireFox?

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

liupengf12
User
Posts: 4
Joined: Wed Aug 25, 2010 3:42 pm

How to call the RunJavaScript function in FireFox?

Post by liupengf12 »

In IE I can add a <object> tag with classid attribute and then can call the RunJavaScript function. But FireFox doesn't support classid attribute so I can not find the PDFView object using javascript.
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7371
Joined: Wed Mar 25, 2009 10:37 pm

Re: How to call the RunJavaScript function in FireFox?

Post by Paul - PDF-XChange »

Hi liupengf12

my apologies for missing your post. I hope that better late than never is true for you. My understanding is that classid is supported in Firefox.

http://reference.sitepoint.com/html/object/classid
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com