[whatwg] removing attributes

Jim Ley jim.ley at gmail.com
Fri Aug 5 13:56:55 PDT 2005


On 8/5/05, Olav Junker Kjær <olav at olav.dk> wrote:
> Is it possible to remove a constraint like maxLength (on input elements)
> through script, eg. by setting it to null? By default a field does not
> have any maxlength constraint, so it would seem natural that if you set
> a constraint through script, it could be removed again.

Wouldn't just calling removeAttribute of the HTML DOM do this?

Jim.



More information about the whatwg mailing list