Error: Unknown runtime error
I created a little web-page for the user management that comes with a bunch of forms and some fields that are dynamically filled from the data delivered by a user-profile service. On start-up the page displays the users their personal information that the system receives from the service. The forms are basically for registering and manipulating the personal information.
In my case, I have a separate section in the (X)HTML that simply shows the personal information. This section contains a set of dynamically filled DIV/SPAN tags. As it not possible to access these fields like form fields, one needs to give each tag an id that is unique in the entire document. These identifiers are stored in the id-attribute. Of course this is not new - and well documented in the HTML, XML, and DOM specifications of the W3C.
For the display section I simply applied this ID handling, all with unique identifiers - and it works nicely with mozilla and web-kit based browsers. With Internet Explorer again it does not work - even not in standard compliant mode, which I use all the time. After debugging for hours I figured out that Internet Explorer does not only require the identifiers in the id-attributes to be unique with respect to all other IDs in the document, but also with regard to the names that are used for input fields in forms. Otherwise, the DOM function getElementById() gets confused.