-1
PDF를 생성 할 수있는 Html2Pdf를 사용하고 있습니다. 올바르게 작동하고 있습니다. jquery 전에 iframe을 추가하고 attribut src를 설정하려고합니다.내 iframe에 삽입 된 기능 pdf
나는 것이 있습니다
success: function (data) {
$("#loader99").hide();
// Here put the attribut src (with my data) in .show_pdf_vcmd
}
<div class="show_pdf_vcmd"><iframe id="fullFrame" width="50%" height="700px" class="pdf"></iframe></div>
덕분에 내가 그것을 어떻게 할 수 :
success: function (data) {
$("#loader99").hide();
$(".show_pdf_vcmd").append('<iframe id="fullFrame" src="temp/' + data.pdfurl_vcmd_ajax + '.pdf "width="50%" height="700px" class="pdf"></iframe>')
}
<div class="show_pdf_vcmd"></div>
나는이 결과를 갖고 싶어?
[좋은 질문을하는 법은 무엇입니까?] (http://stackoverflow.com/help/how-to-ask) 나는 당신이 원하는 것을 이해하지 못합니다. – crush
iframe 태그를 추가 할 행의 끝에 세미콜론을 추가하십시오. 그것은 작동해야합니다 - 현재, erronous 출력은 무엇입니까? –