Nilesh Patel

Nilesh Patel

  • 1.8k
  • 270
  • 5.3k

PDF Viewer Is not working in firefox

Sep 14 2018 8:11 AM
I have code for pdf viewer using object element in Jquey. it is working fine in chrome browser but when open pdf viewer in firefox some pc it is not working and I have also verify version details both are same so how I resolved it.
If you have found same kind of issue let me know.
here mention code of PDF viewer open.
modal: true,
title: dialogtitle,
width: 800,
height: 600,
buttons: {
Close: function () {
open: function () {
var object = "<object data=\"{FileName}#toolbar=0\" id=\"embeddedPdf\" type=\"application/pdf\" width=\"775px\" height=\"550px\" ></object>";
object = object.replace(/{FileName}/g, "App_File/" + fileName);

Attachment: Screen_Shot.rar

Answers (1)