Hello! | Sololearn: Learn to code for FREE!
+ 1

Hello!

how can i check with js is my pressed or no

27th Sep 2017, 2:45 PM
😎_M_😎
😎_M_😎 - avatar
1 Answer
0
var hasDocumentBeenClicked = false; document.onclick = function(){ hasDocumentBeenClicked = true; }
27th Sep 2017, 8:24 PM
Edhi7
Edhi7 - avatar