Note that showing and hiding form fields (text fields, buttons, etc) should be done with .show() and .hide() (that is, by changing the display or visibility styles of the element), not by trying to change the type property.
--Erik On 8/26/07, Erik Beeson <[EMAIL PROTECTED]> wrote: > Why would you need to do that? > > --Erik > > > On 8/26/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"). > > > > >