Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

How to Print only data from the form

 
vin gun
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am having a problem in my ADF/JSF page. I just want to print the form data of my form instead of the whole page.using javascript:print() method prints the whole page.so can you help me in solving this issue. I have JDev 10.1.3 and do not want to upgrade to JDev 11g!

Is there some java or JavaScript code to do so?

Thanks,
 
Himalay Majumdar
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Report post to moderator
I think you can consider using this..
 
vin gun
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
Himalay Majumdar wrote:I think you can consider using this..



Thanks Himalay!!! I have never used this before. I saw the following code by googling but not sure how to use it in my ADF/JSF page:

var o = $("#divToPrint");
o.jqprint();
// or
$("#divToPrint").jqprint();

Could you please explain a little more...

Thanks again for the help.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64691
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.
 
    Bookmark Topic Watch Topic
  • New Topic