How i can getelementbyid from div ?
<div id="name">my player name
<canvas id="c2canvas" width="1000" height="500">
now i must use CAllJS or something to get player name frome div ID. What i must write in execute?
i add to construct JS this:
"var "&name_player&" = document.getElementById('name');"
i set text --> name_player
but this dosent work;/
how i can put player name frome website to construct?