digi3d's twitter Feed : 2019/06/10 15:32:48

in var •  6 years ago 

So, I need to sanitize #var before #encoding to adjust input to save ' " & special chars.

<script>document.getElementById("output").innerHTML="<hr></br>"+var+"</br><img src='
https://chart.googleapis.com/chart?chs=250x250&cht=qr&chl=

" +encodeURIComponent(var)+"'>";</script>

https://codepen.io/digimancer3d/pen/dELWxm

#share2steem



3Douglas 3D ₿itNinja


Posted from Twitter via Share2Steem

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!