Disable .attr("type","foo")

Disable .attr("type","foo")

Following up on the other thread, discussing how setting the type
attribute to a new value (.attr("type","foo")) causes an exception to
occur in Internet Explorer. There are two possible solutions here:
1) Do a createElement("input"), set the new type value, and then
attempt to make a perfect clone of the old input element. I have no
idea how hard this would be, but it's definitely not trivial.
2) Simply disable .attr("type") and prevent users from using it
(requiring them to explicitly create a new element, or some such).
What's the right course of action here? For now, I want to just
disable it, to prevent users from accidentally causing their
applications to crash. From that point we can decide a better course
of action.
Thoughts?
--John