Re: Two questions

> Date: Sat, 20 May 2000 07:33:22 -0400 (EDT)
> From: Lars Marius Garshol <larsga@garshol.priv.no>
> Subject: Two questions
> 
> 2. What is the result of calling
> element.removeAttribute("non-existent")?
> 
>   The specs (1 and 2) seem to say that nothing should happen, and that
>   is my own interpretation.

Nothing should happen if you try to remove a non-existent attribute. The
methods don't have a return value and explicitly raises no exception for
that case.

Philippe

Received on Thursday, 31 August 2000 11:11:34 UTC