Triggering incremental function
Hello
I`m a beginner so excuse me if my question is too obvious.
i have a set of functions with identical name + incremental number
<a href='javascript: fun1()'>1</a>
<a href='javascript: fun2()'>2</a>
<a href='javascript: fun3()'>3</a>
<a href='javascript: fun4()'>4</a>
<a href='javascript: fun5()'>5</a>
.....
<a href='javascript: fun50()'>5</a>
......etc
I want to add NEXT/PREV navigation buttons to trigger subsequent functions .
And when last function is called , the next click should trigger first function again.
Thanks in Advance