#1 (permalink)  
Old 03-09-2006, 12:47 AM
Registered User
 
Join Date: Mar 2006
Posts: 1
Problem displaying PDF content

Hi all,

I need to display page with content-type='application/pdf', when it comes to browser, the browser displays a set of characters instead of the correct page.
I know this is because I put the page in <div> tags using javascript's innerHTML. The reason I'm doing this is because I use Ajax to send request and when the response is coming I put the response text in <div> to avoid entire-page refresh.

Is there any other way to display PDF content resulting from Ajax response ?

Any advice would be greatly appreciated.


Best Regards,

Setya
Reply With Quote

  #2 (permalink)  
Old 03-10-2006, 08:25 AM
Till's Avatar
Administrator
 
Join Date: Jan 2002
Location: Berlin, Germany
Posts: 1,453
You cannot embed a PDF into a page. You need a seperate page for that.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with timestamps curtiss Programming and Scripting 2 04-15-2006 06:58 AM
Javascript problem in setting URL gilgalbiblewhee Programming and Scripting 2 03-07-2006 02:34 PM
content for websites ammy Programming and Scripting 1 02-15-2006 06:03 PM
Background colour not displaying in Firefox... CSS problem? christhorn Programming and Scripting 4 02-02-2006 04:29 PM
Aligning? Saavan Programming and Scripting 1 12-19-2005 03:52 AM


All times are GMT -5. The time now is 05:07 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter