I was late for work this morning, because I got stuck in Zeno's paradox
It would help people to answer you if you gave a more detailed explanation of what you are trying to do and what isn't working properly. And, if possible, a test page where people can see your code.