F
F. Da Costa
Hi,
I was wondering *why* there is a difference between the results of the
following two statements. On the suface they seem to do the same (or do they?)
frm["custom"] => returns void
frm.getAttribute("custom") => returns the value of the attribute
The frm (= <form>) element *does* contain the custom="xyz" attribute.
Its not a 'life or death' issue but it did surprise me a bit.
TIA
Fermin DCG
I was wondering *why* there is a difference between the results of the
following two statements. On the suface they seem to do the same (or do they?)
frm["custom"] => returns void
frm.getAttribute("custom") => returns the value of the attribute
The frm (= <form>) element *does* contain the custom="xyz" attribute.
Its not a 'life or death' issue but it did surprise me a bit.
TIA
Fermin DCG