Forum Academy Marketplace Showcase Pricing Features

Barcode Example

Quick example of rendering an on-screen barcode using, jsBarcode an iFrame (a small snippet of code):


@vega.andrew I’m trying to understand the code, I read the JsBarcode docs from, but I haven’t yet figured out how it works… I’ve never worked with javascript or any coding, so please help me. I need to generate a Code128 barcode out of a three-digit number.
I copied your code from the screenshot and replaced the script source with the link to lindells Code128 script. But somehow I just get two white rectangles but no barcode in it… Can you help me? What’s the correct html script?

Thank you so much in advance!

Luka :slight_smile: