SyntaxFix
Write A Post
Hire A Developer
Questions
You don't need jQuery. Just use JavaScript's Modulo operator.