Originally Posted by Philip M
Please do not tell me that I am posting the wrong code.
It is obvious from the above what is wrong - but in view of your attitude you can find it yourself. I have done my best to help you.
I am sorry but I found there is nothing wrong with my code.
I have attached the html and .js document for you to take a look and test it.