G
Gregor Kofler
Trying to create a button element in IE with type set to button. The
latter thing is required since
"In IE8 mode, the default value is submit" [1]
However, trying to set type to "button" (even when the element is *not*
attached to the document tree), causes "object does not support this
action(?)" (I do run a German IE8 and it says "Aktion" not something
like "value" or "property").
Any ideas, for a neat workaround (maybe without try-catch)?
Gregor
[1] http://msdn.microsoft.com/en-us/library/ms534696(VS.85).aspx
latter thing is required since
"In IE8 mode, the default value is submit" [1]
However, trying to set type to "button" (even when the element is *not*
attached to the document tree), causes "object does not support this
action(?)" (I do run a German IE8 and it says "Aktion" not something
like "value" or "property").
Any ideas, for a neat workaround (maybe without try-catch)?
Gregor
[1] http://msdn.microsoft.com/en-us/library/ms534696(VS.85).aspx