1.在网页里使用JavaScript来生成QR二维条形码
<html>
<head>
<title>Getting Started Essential JS</title>
<!-- Style sheet for default theme (flat azure)-->
<link href="http://cdn.
Syncfusion.com/14.2.0.26/js/web/flat-azure/ej.widgets.all.min.css" rel="stylesheet" />
<!--scripts-->
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="http://cdn.
Syncfusion.com/14.2.0.26/js/ej.widgets.all.min.js"></script>
<!--Add custom scripts here -->
</head>
<body>
<div id="barcode"></div>
<script type="text/javascript">
$(function() {
// document ready
// simple control creation
$("#barcode").ejBarcode({
symbologyType: "qrbarcode"
});
});
</script>
</body>
</html>
2.在网页里生成一位条形码Code39
<html>
<head>
<title>Getting Started Essential JS</title>
<!-- Style sheet for default theme (flat azure)-->
<link href="http://cdn.
Syncfusion.com/14.2.0.26/js/web/flat-azure/ej.widgets.all.min.css" rel="stylesheet" />
<!--scripts-->
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="http://cdn.
Syncfusion.com/14.2.0.26/js/ej.widgets.all.min.js"></script>
<!--Add custom scripts here -->
</head>
<body>
<div id="barcode"></div>
$("#barcode").ejBarcode({
symbologyType: "code39"
});
</body>
</html>