SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast Hanabi's Avatar
    Join Date
    Mar 2002
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Printing a form with JavaScript

    Hi all,
    I'm writng an HTML form for my site but I don't want to use a program, instead I'd like the user to be able to print it directly by clicking the submit button.
    Does anyone know if there's a way to do it[img]images/smilies/confused.gif[/img].
    Last edited by Hanabi; Jul 17, 2003 at 08:52.
    Thanks for your time.

    Hanabi.

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,236
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    HTML Code:
    <input type="button" name="printer" 
    value="Print This Form" onclick="window.print();" />


Bookmarks

Posting Permissions

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