EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: noerone on November 10, 2015, 03:03:24 AM



Title: how show output pdf from tcpdf in window ?
Post by: noerone on November 10, 2015, 03:03:24 AM
i have problem with window jeasyui, i can't show output from tcpdf in window. but if i replace url in browser, it normal & show my output pdf.

this my script :
Code:
$('#ff-pembelian').form('submit',{
            onSubmit: function(){
                return $(this).form('validate');
            },
            success: function(){
            var url = '<?=base_url()?>lp/c_rpt_pembelian/rpt_general';
            $('#win').window({
        title: 'Print Out Laporan Pembelian',
        width:'60%',
        height:'60%',
        modal:true
    });
    $('#win').window('refresh', url);
            }
        });

but this output on window :
(http://i.imgur.com/CPffoIO.jpg)


Title: Re: how show output pdf from tcpdf in window ?
Post by: jarry on November 10, 2015, 06:22:54 AM
Please refer to http://www.jeasyui.com/forum/index.php?topic=4755.msg11695#msg11695