html5-qrcode icon indicating copy to clipboard operation
html5-qrcode copied to clipboard

Document.write doesn't show array of decoded values

Open opl-git opened this issue 4 years ago • 1 comments

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

opl-git avatar Feb 27 '22 07:02 opl-git

my advice is to avoid to use document.write() and use [element].innerHTML

ROBERT-MCDOWELL avatar Feb 27 '22 12:02 ROBERT-MCDOWELL