简体   繁体   中英

Jquery & Javascript - how to remove strings from the page?

I want to remove strings from this page . I have a QR Code Scanner, I tried to look on how to remove this string but it is not being removed. now is there any possibility on removing this certain word by using its input?

here is what the page looks like the highlight text is the one that i would like to remove

在此处输入图片说明

here is my input

<p id="scanned-QR"></p>

but i dont know the possiblity if it can be done with jquery or javascript, is there any.

here is what i knew the problem is scannedQR[txt] = res.format + ": " + res.code; i tried to removed res.format + ": " + but still the word persists

Expected Output - I just want to remove the Code128 from the page

在此处输入图片说明 在此处输入图片说明 you can change only this "scannedQR[txt] = + + res.code;"

scannedQR[txt] = + res.code;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM