ZVON > References > DOM2 Reference

appendMedium (method )

Owning interface and usage:  
MediaList.appendMedium(newMedium)

Member of these other interfaces:  
none

Description:  
Adds the medium newMedium to the end of the list. If the newMedium is already used, it is first removed.

Parameters:  
DOMString newMedium  -  The new medium to add.

Returns:  
nothing

Exceptions:  
DOMException INVALID_CHARACTER_ERR
If the medium contains characters that are invalid in the underlying style language.
DOMException NO_MODIFICATION_ALLOWED_ERR
Raised if this list is readonly.