+ 2
Points in a game.
How do I add points in a game by clicking a shape that's moving?
2 odpowiedzi
+ 7
<div id=shape onclick=func() >
var score=0;
function func(){
$("#points").innerHTML=++score; }
+ 2
Thanks Brains I'll try it
How do I add points in a game by clicking a shape that's moving?