Skip to content
This repository was archived by the owner on Aug 3, 2018. It is now read-only.
This repository was archived by the owner on Aug 3, 2018. It is now read-only.

Tag won't work with IE6/7/8 #10

@knightq

Description

@knightq

Due to this:

, show: function () {
    ...
    that.element.parent().prepend(that.element.detach().attr('type', 'hidden'))
    ...

Prior to version 1.9, jQuery would throw an exception in all browsers for any attempt to set the type attribute on an input or button element. This was done to accommodate the lowest common denominator; IE 6/7/8 throw an error if you attempt to change the type of an input element. As of jQuery 1.9, we allow you to set the type of an element if the browser allows it. However, your own code will need to be aware that attempting to do this on oldIE will still throw an error. The jQuery Migrate plugin warns when you attempt to set the type attribute but does not throw a JavaScript error."

See here on StackOverflow the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions