Sample Barcode Js Barcode Tric On phprunner dynamicly

   Sample code of dynamilcy custo display lisy on phprunner




Sample code


$value = "

<a class='popupwindow' rel='windowCenter'href='Barcode.php?Barcode=".$data["Barcode"]."');\"><div class=\"print_barcode\">

<script>
    $(document).ready(function() {
      JsBarcode(\".barcode\").init();
  
  
    });
  </script>
<svg class=\"barcode\" jsbarcode-format=\"code128\" jsbarcode-value=\"$value\" jsbarcode-textmargin=\"0px\" jsbarcode-textmwidth=\"0\" jsbarcode-fontoptions=\"bold\"></svg>
</a>";


and find this javascript

keep on header

<script id="jsbarcode-script" src="JsBarcode.all.min.js"></script>

Download link




Comments