Generate barcode using jquery-barcode
This plugin helps you display barcodes on your website or web systems, you can create manually or automatically among 12 code formats.
Supported barcode formats
- standard 2 of 5 (std25)
- interleaved 2 of 5 (int25)
- ean 8 (ean 8)
- ean 13 (ean 13)
- upc (upc)
- code11 (code11)
- code39 (code39)
- code93 (code93)
- code128 (code128)
- codabar (codabar)
- msi (msi)
- datamatrix (datamatrix)
Supported barcode output format
- CSS (compatible with any browser)
- SVG inline (not supported by IE)
- Online BMP (not supported by IE)
- CANVAS html 5 (not supported by IE)
creating barcode
bookstores
1 | <script type=”text/javascript” src=”jquery-1.3.2.min.js”> <script type=”text/javascript” src=”jquery-barcode.js”> |
HTML: Create an html wrapper that displays the barcode.
1 | <div id=”bcTarget”></div> |
JS: Call the plugin and generate a barcode.
1 | <input type=»button» > |
Watch the live demo and download the source code.
Commentary
Comments
Leave a Comment