Skip to content

erikzaadi/jQuery.printElement

Repository files navigation

jQuery Print Element Build Status

Sends an element to print.

Inspired by PrintArea (http://plugins.jquery.com/project/PrintArea) and http://stackoverflow.com/questions/472951/how-do-i-print-an-iframe-from-javascript-in-safari-chrome

Getting Started

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="jquery.printelement.min.js"></script>
<script>
jQuery(function($) {
  $("#yourSelector").printElement();
});
</script>

Documentation

still working on migrating these.. See the Getting Started or all options.

Examples

See Examples

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "src" subdirectory!

Release History

  • 2.0.1-dev
    • Updated project to use Grunt 0.4.x
    • Added support for number type input fields.
  • 2.0-dev
    • Complete rewrite, support IE{9,10}.

License

Copyright (c) 2012 erikzaadi
Licensed under the MIT, GPL licenses.

About

jQuery.printElement

Resources

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
LICENSE-GPL
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published