Results 1 to 2 of 2
  1. #1
    sayan751 is offline Member
    Join Date
    Feb 2009
    Rep Power

    Default How to print a HTML/JSP span using javascript?


    I am Doing a small project where i have generate a bill within a form or a span[this is done].

    now problem that i have to keep a button in that page.if the button is clicked it will open OS's default printing window which can be done using javascript[window.print()], where the entire page will be printed including the button.
    But i need to print only the form or the span that holds the bill.

    Can anyone help me?

    thank you.

  2. #2
    mtyoung is offline Senior Member
    Join Date
    Dec 2008
    Hong Kong
    Rep Power

Similar Threads

  1. How to print a HTML file in browser look using JAVA
    By ammameiya in forum Advanced Java
    Replies: 5
    Last Post: 06-25-2010, 02:36 AM
  2. struts html tags vs javascript
    By murali in forum Web Frameworks
    Replies: 0
    Last Post: 12-01-2008, 02:18 PM
  3. Replies: 1
    Last Post: 11-06-2008, 04:47 AM
  4. Replies: 0
    Last Post: 08-13-2008, 11:38 AM
  5. Is it possible to use struts-html tags in javascript...?
    By prabhurangan in forum Web Frameworks
    Replies: 0
    Last Post: 05-27-2008, 02:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts