KoolUIControl - Excellent PHP, HTML5 and Javascript ControlsKoolUIControl - Excellent PHP, HTML5 and Javascript ControlsFullVersion 1.0.0.0 released on 07/30/2014

Barcode - Create KoolUI Barcode

Description & Sample code

To render a barcode, you have two methods. One is to render immediately, the other is to render via javascript command:
PHP:
    <?php 
        echo $ui->render(); 
    ?>

Javascript:
    <?php 
        echo $ui2->getBasedHtml();
        echo "<script type='text/javascript'>
            var startupJS2 = " . $ui2->getStartupJS() . ";
        </script>";
    ?>
    <script type='text/javascript'>
        startupJS2();
    </script>