W
Walton
checkout: (3rd paragraph under 'Remarks' section)
http://msdn.microsoft.com/library/d.../author/dhtml/reference/properties/name_2.asp
from the page:
"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."
to work around this you have to code:
document.createElement('<div name="ieiscrap">')
which -surprise- fails in Firefox. i haven't tested in any other
browsers. this one really caused me a headache.
does anyone know why IE does this?
http://msdn.microsoft.com/library/d.../author/dhtml/reference/properties/name_2.asp
from the page:
"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."
to work around this you have to code:
document.createElement('<div name="ieiscrap">')
which -surprise- fails in Firefox. i haven't tested in any other
browsers. this one really caused me a headache.
does anyone know why IE does this?