Is there anyway to check for multiples of a certain number? I would do something like:
But these numbers will go into the thousands so it would be very complicated to do it that way.
Thanks
HTML:
if (num==0) {
//code
} else if (num==5) {
//code
} else if (num==10) {
//code
}
Thanks