html5-qrcode
html5-qrcode copied to clipboard
Document.write doesn't show array of decoded values
Hello, I already asked this on Stackoverflow . I am pushing my decoded values into an array. I want to automatically show all recent values of my array. So every time I scan a new code, the showing of the array content has to autoreload. Don't know how to do that.
But my problem lays some steps before that: I can't display the values of the array using document.write. But I can see them in the console: ``
I My array codeslz seems to be the problem, but I can't find it.
Hope someone might see the problem. Thank you! Kind regards
my advice is to avoid to use document.write() and use [element].innerHTML