It's a "quirk" of IE, nothing to do with jQuery. It doesn't allow you
to change the "type" of an "input" element once it's created.

The best you could do would be to create a new "hidden" field and copy
across the contents of the visible element. Then delete the visible
element.

Karl Rudd

On 8/27/07, Minh <[EMAIL PROTECTED]> wrote:
>
> Getting an error when I tried to set a input attribute to hidden in
> v1.1.2, v.1.1.3.1 and v1.1.4. Using $
> ("#inputID").attr({'type':'hidden'}) and $
> ("#inputID").attr("type","hidden").
>
>

Reply via email to