AvailabilityDOM Level 2 StyleSheets Synopsisvoid appendMedium(String newMedium) throws DOMException; Arguments
ThrowsThis method may throw a DOMException with a code of NO_MODIFICATION_ALLOWED_ERR if the media list is read-only, or INVALID_CHARACTER_ERR if the specified newMedium argument contains illegal characters. DescriptionThis method appends the specified newMedium to the end of the MediaList. If the MediaList already contains the specified media type, it is first removed from its current position and then appended at the end of the list. |