ZVON > References > DOM2 Reference

deleteMedium (method )

Owning interface and usage:  
MediaList.deleteMedium(oldMedium)

Member of these other interfaces:  
none

Description:  
Deletes the medium indicated by oldMedium from the list.

Parameters:  
DOMString oldMedium  -  The medium to delete in the media list.

Returns:  
nothing

Exceptions:  
DOMException NO_MODIFICATION_ALLOWED_ERR
Raised if this list is readonly.
DOMException NOT_FOUND_ERR
Raised if oldMedium is not in the list.