Submit your widget

Very Useful JQuery barcode plugin

Created 12 years ago   Views 15568   downloads 3028    Author barcode-coder
Very Useful JQuery barcode plugin
View DemoDownload
65
Share |

Jquery plugin to create barcode

Barcode JQuery plugin installation

Like any plugin, just inclure the source file after including that of JQuery.

    <script type="text/javascript" src="jquery-1.3.2.min.js"></script>    
    <script type="text/javascript" src="jquery-barcode.js"></script>  

Using barcode JQuery plugin

To use this plugin, symply define a container th host the visuel barcode

<div id="bcTarget"></div> 

Using example of the plugin

    $("#bcTarget").barcode("1234567890128", "ean13");     

Prototype of the barcode function

    barcode: function(datas, type, settings)  

datas

string

Value barcode (dependent on the type of barcode)
If barcode type include it, the presence of the checksum is not mandatory, it ise automatically recalculated

Read more:http://barcode-coder.com/en/barcode-jquery-plugin-201.html