Thank you for the answer, I am quite sure to know the main spot now. The eleID-Tag is affected by the following class:
.window { border-collapse:collapse; position:absolute; top:-10000px; left:-10000px; display:none; max-width:500px; } This is because I want all the content to be loaded in an invisible area. The script works like intended when I just remove display:none; Actually, I dont't really know why I used display:none; at all. top:-10000px; left:-10000px; has the same effect. All in all: Thank you a lot for that precise question :) There is only one single question left: Does JS always skip "display:none;"-elements? Eric