Hi,
I am making ajax calls to the groupdocs viewer web service to return the javascript libraries and the inlineDocument script.
However once I get the javascript libraries and append them to the html head element, where all the other scripts are, I get an error when the following three scripts are evaluated. The first script says it cant get cssTransforms of undefined and the others say they cant get prototype of undefined
this is the ajax call I am making
$.ajax({
url: http://localhost:2222/WebServiceProvidingViewer.asmx/GetJavaScriptLibraries
,
type: ‘POST’,
async: false,
contentType: “application/x-www-form-urlencoded”
}).done(function(data){
var scripts = $.parseHTML(data.documentElement.textContent, document, true);
$(“head”).append(scripts);});
Any help would be appreciated.