I am creating an HTML front page for users to view our 'How To' documents, the pdfs are fembeded onto the page to create a preview using the below JQuery. This is working fine in Firefox however will not work in IE or Chrome, any help is appreciated, Thanks
$(document).ready(function() {
"use strict";
$('.btn').click(function() {
var idToSRC = './HTA_' + this.id + '.pdf';
$('#viewer').attr('src', idToSRC);
});
});