Unsupported Use of createElement() Method (1103 / 1203 / 1303 / 1403)

AdminStudio 2021 | 21.0 | Application Manager

For this browser compatibility test, the web application contents are scanned for the use of angle brackets in arguments that are passed to the createElement method.

Test Group/Test Category

1303—Browser Compatibility/Internet Explorer 11
1403—Browser Compatibility/Microsoft Edge

Severity

Warning

Message

This web application contains unsupported characters in the createElement() method (File: [FILE_NAME], Argument: [ARGUMENT]).

Background

The createElement method creates an element node in the Document Object Model (DOM) hierarchy. The Standards mode in Internet Explorer 11 and later does not support the use of angle brackets (< >) within the createElement method. If the argument of the createElement method contains those characters, portions of the web application may fail to work.

Resolution

The web application should be re-engineered to no longer use angle brackets in the createElement method. The element name should be passed and the setAttribute method should be used to set the values of the required attributes.

See Also