Change Input Tag Type in IE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rakesh19
    New Member
    • Aug 2008
    • 17

    Change Input Tag Type in IE

    Hi,

    I am changing the type property of a input tag in IE as below.

    docment.getElem entById('abc'). type='text';

    Its type is hidden by default. Works very well in FF and Chrome.

    any clues?
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    This is in fact a JavaScript question, so I've moved it to the JavaScript forum.

    IE can't change the type dynamically, so you need to completely replace it. See this thread.

    Comment

    Working...