为什么要通过AJAX加载它?为什么不将其加载到需要时生成的Iframe中。标准浏览器插件将在Iframe中显示该插件。
$('#link').click(function(e) { e.preventDefault(); // if you have a URL in the link jQuery.ajax({ type: "POST", processdata: false, url: "aaaa.p?name=pdf", data: inputxml, contentType: "application/xml; charset=utf-8", success: function(data) { var iframe = $('<iframe>'); iframe.attr('src','/pdf/yourpdf.pdf?options=first&second=here'); $('#targetDiv').append(iframe); } });});


