Problem with function repeating itself...
Hello,
I've got a problem with a function. The Script and Demo can be seen
here (To call the alert click on the element with the content "T2"). It's a little sample of my new project I'm working on. The thing is the more often the function is called the more often I get alert with old content. For example if I've called the function for the second time I get two alerts. The first one with the content of the first execution and second alert with the content. Where is the problem in this function? Doesn't the function end?
I would be pleased for an answer