49
rated 0 times
[
51]
[
2]
/ answers: 1 / hits: 106015
/ 14 Years ago, thu, may 27, 2010, 12:00:00
I have the following working code:
ctx = document.getElementById(canvas).getContext('2d');
Is there any way to re-write it to use $
? Doing this fails:
ctx = $(#canvas).getContext('2d');
More From » jquery