Dynamic Barcode generation
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to replace the barcode information with information from another div?
Something like:
JsBarcode("#barcode3", "SK000007", {
format: "CODE39",
displayValue: true,
});
Replacing the SK000007 with content of another div such as this jQuery code?:
$('#div2').html($('#div1').html());
If so how might that be done?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the browser usage of JsBarcode and the selector-based example in the issue. Determine whether the barcode value can come from another div, and document or demonstrate the supported usage with the #barcode3, #div1, and #div2 example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100