Loading PDF into DIV; wrong mime/type

Loading PDF into DIV; wrong mime/type

I set up a function in JQuery to do .load() to a DIV. (This function appears to work only in IE.)

This works fine if I am loading an html document to the DIV, but if I load a .pdf file, it looks like it doesn't use the right mime type for interpretation. It looks like it just streams the binary code into the div...

Question:

Is there a way use JQuery to load a PDF file into a DIV and have it render correctly?

Here is my source:

<html><head>
<title>jQuery test page</title>
<script src="jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
function loadContent(elementSelector, sourceUrl) {
   $(""+elementSelector).load(sourceUrl);  }
</script>
</head><body>
<div id="top" style="position:absolute;top:0px;left:0px" >
<a href="javascript:loadContent('#content', 'http://www.yahoo.com');">I work</a>
<p><a href="javascript:loadContent('#content', 'http://www.education.gov.yk.ca/pdf/pdf-test.pdf');">I don't work</a>
<p>Here's the stuff!</div>
<div id="content" style="position:absolute;top:200px;left:0px">content will be loaded here</div></body>
</html>


If you click the link that doesn't work you get:

%PDF-1.6 %�� 37 0 obj <> endobj xref 37 34 0000000016 00000 n 0000001386 00000 n 0000001522 00000 n 0000001787 00000 n 0000002250 00000 n 0000002274 00000 n 0000002423 00000 n 0000002844 00000 n 0000002888 00000 n 0000002932 00000 n 0000004113 00000 n 0000004147 00000 n 0000004211 00000 n 0000006880 00000 n 0000007023 00000 n 0000007172 00000 n 0000007312 00000 n 0000007455 00000 n 0000008176 00000 n 0000008566 00000 n 0000009066 00000 n 0000012518 00000 n 0000012667 00000 n 0000012803 00000 n 0000012939 00000 n 0000013072 00000 n 0000013208 00000 n 0000013344 00000 n 0000013480 00000 n 0000013632 00000 n 0000013818 00000 n 0000014039 00000 n 0000001220 00000 n 0000001005 00000 n trailer <<15349106D985DA44991099F9C0CBF004>]>> startxref 0 %%EOF 70 0 obj<>stream 0>�e s�f���"$ ���44}2��Y���,(�A-$�݊��ea�,�