mardi 25 octobre 2016

If/Else clicked - Javascript

Im trying to make some method of checking if a button is clicked in a certain combination.

For example, my combination is 3,1,2.

I would love for it to run in a simple if/else statement.

Simply it would check if 3 is clicked, check if 1 is clicked else exit the loop and try again.

I need to keep it as simple as possible as the combination is going to be unique to whichever user is attempting access.

Thanks for any help!!

Aucun commentaire:

Enregistrer un commentaire