+ 1
How can I make a button that when I clicked on it it write's 1 and when I clicked on it again it get's 2 and...
3 Réponses
+ 1
web
+ 1
<script>
var a=1;
function clicked(){
if (a==1){a+=1; return 1;}
return 2;
}
</script>
think about it ;)
0
What is function * foo() ??