I have absolutely no clue what I am doing wrong. But after this experience I have my doubts, that it's not about the code. I hope somebody can help me.
I just found out, that this problem is specific for chrome, if I try this page on the web, it's working on chrome and firefox. But if I try it locally, it's just working on firefox. Does anybody have an idea how this could happen?
All the best,