Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- divString = "<div class="Square " + rankName + " " + fileName + " " + lightString + ""/>";
- $("#Board").append(divString); // <= How can I append this to the canvas with pure JavaScript?
- }
- }
- }
- /*
- *
- */
- <canvas id="board" width="480" height="480" style="border: solid 1px Black;"></canvas>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement