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
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>
still working on migrating these.. See the Getting Started or all options.
See Examples
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!
- 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}.
Copyright (c) 2012 erikzaadi
Licensed under the MIT, GPL licenses.