Bug Tracker

Modify

Ticket #1956 (closed bug: duplicate)

Opened 6 years ago

Last modified 6 years ago

changing type property on an input fails in IE

Reported by: altwind Owned by:
Priority: major Milestone: 1.2.2
Component: core Version: 1.2.1
Keywords: Cc:
Blocking: Blocked by:

Description

jquery1.2.1 bug A following code doesn't work.

<input type="text">
// change 'type' attribute
 $('#some_form_element').attr( 'type' , 'button' );

and Error Message that

"uncaught exception: type property can't be changed"

from FireBug.

Change History

comment:1 Changed 6 years ago by davidserduke

  • Status changed from new to closed
  • Resolution set to duplicate
  • Milestone changed from 1.2.1 to 1.2.2

Duplicate of #1957.

comment:2 Changed 6 years ago by davidserduke

  • Summary changed from jquery1.2.1 bug to changing type property on an input fails in IE

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.