embedly/jquery-preview — pull request #4 by brentc (2012-01-31 21:13:34+00:00)
Title: When reusing existing inputs, don't try and change the element type

As stated just below the "[Setting several attributes at once](http://api.jquery.com/attr/#setting-several-attrs)" section, jQuery throws an error if you try to change the "type" attribute:

> **Note:** jQuery prohibits changing the type attribute on an or element and will throw an error in all browsers. This is because the type attribute cannot be changed in Internet Explorer