It worked before with one field (and I haven't changed the basic structure): "Namn"-field on the popup-specification was alright, the getElementById selected from "fnamn" and "enamn" fields from the form and put them in the "Namn"-field on the popup-specification.
But now, after I've added a lot of new getElementById:s in the body-section and also a CSS-declaration in the head-section, not one of the fields get filled in by the getElementById-function (not even the "Namn"-field). Why? I tried to change span id back to div id for "Namn"-field, but it still didn't work.
I've enclosed my form and my popup-specification.