我需要自定義條碼的寬度。 我有嘗試使用此,我已使用jquery-barcode.js插件。(http://www.jqueryscript.net/other/Simple-jQuery-Based-Barcode-Generator-Barcode.html)如何在html中更改條碼的寬度
$("#barcodeView").barcode(
"123456789023F", // Value barcode (dependent on the type of barcode)
"code128", // type (string)
{ barWidth: 1, barHeight: 50 }
);
但它被定製單個條的寬度和高度。我需要調整整個條形碼的widt和高度。這是我的HTML
<div class="col-xs-12 col-md-6" >
<div id="barcodeView"></div>
</div>
哪個插件是'barcode'?鏈接? – 2014-10-28 07:42:15
jQuery的barcode.js – Saranga 2014-10-28 07:43:24
http://www.jqueryscript.net/other/Simple-jQuery-Based-Barcode-Generator-Barcode.html – Saranga 2014-10-28 07:49:45