+ 4
HELP WITH JS
i want to put on my code... if he press 10 checkbox = alert box appear
1 Respuesta
+ 5
//JavaScript:
var check = 0
function CheckMethod(){
check += 1;
if(check == 10)
{
alert("Button Pressed 10 times!");
}
}
HTMl:
<button onclick="CheckMethod();"></button>