Hello Friends ajj me apko btaunga ki kis prakar ham jquery ka use karke ek simple bar code generator tool bana sakte hai easily.
Sabse Pehle App jquery bar code library download kar lijiye niche diye gye link se
https://www.jqueryscript.net/demo/Simple-jQuery-Based-Barcode-Generator-Barcode/
Ab app ek index.php name ki file create kar lijiye-
Index.php
<center>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="jquery-barcode.js"></script>
<script>
$(document).ready(function() {
var gajabwap = {barWidth: 2,barHeight: 50,moduleSize: 5,showHRI: true,output: "css",posX: 0,posY: 0
};
$( "#codemaker" ).on( "click", function() {
var code = $("#barcode").val() ;
$("#result").barcode(
code,
"code128",
gajabwap
);
});
});
</script>
</head>
<body>
<h2> Gajabwap JQuery Barcode Generator </h2>
<br>
<input type="text" id ="barcode" name="barcode" autocomplete="off" />
<br>
<input type="button" class="button" id="codemaker" name="codemaker" value="Generate Barcode">
<div id="result"></div>
</body>
</html>
</center>
Ab aap easily is tool ka use karke bar code generate kar sakte ho.aap niche diye gye link se demo check kar lijiye.
Demo-Bar Code Generator
agar apko is post me koi problem a rhe hai to aap comment me puch sakte ho
Thank You
Team Gajabwap Web In Hindi
Also Read-
Server Se File Kaise Download Kare -with Php Script
1 comments:
Click here for commentsnice post bro, your all post are nice, all information are really good keep it up bro
ConversionConversion EmoticonEmoticon