Home >Web Front-end >JS Tutorial >Solution to the problem that IE6 cannot modify the name_javascript skills
The NAME attribute cannot be set at run time on elements dynamically created with the createElement method.
To create an element with a name attribute, include the attribute and value when using the createElement method.
That is, you have to Write like this