I am able to get the output of a pdf using fpdf, the problem is that i am not to generate it if the call the function through jquery... rather the pdf is display in firebug?How to solve this issue
output display in firebug
%PDF-1.3
3 0 obj
<</Type /Page
/Parent 1 0 R
/Resources 2 0 R
/Contents 4 0 R>>
endobj
4 0 obj
<</Filter /FlateDecode /Length 582>>
stream
x���Ms�0���{LU���͞&�v�L�p��b��N��`Zc���k,ij��Bgh��b���{�|�����șP`�f�B���sS��C���*+�[H��K�ŁO��מ�����M:<�3�jt�:Z��1,�`�ˤc
�Ҁ�� ��0���~��^��U� �;�q�_6y
y�� ��+Q�6��e/���C%�ً+�!q5+�Sf
jquery:
$.post(url+"/create_pdf",js,function(data){
},"json");