[whatwg] removing attributes

On Fri, 5 Aug 2005, [UTF-8] Olav Junker Kj?r 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.

Yes, there are a number of DOM attributes that map to content attributes. 
This is already the case in DOM2 HTML.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 23 August 2005 17:24:34 UTC