[SOLVED] Show pdf using ajax


I am using Jasper reports to generate pdf reports. I have converted the Jasper reports php client as an extension and every thing is working fine. I am calling the extention in a controller action to display the pdf. I am using CActive form to pass parameters to the report. I have used target=_blank to open the report in new tab. But in browser it is showing as pop up window. So is it possible to display the report in the same page using ajax or something. Form gets submitted to the action which displays the pdf. I want to show it below the form. Please help.

Thanks in advance.

You could probably put an iframe below the form, then use that as the submission target.

Thanks Keith. It is working.