JavaScript: The Definitive Guide

25.55. CSSStyleSheet.removeRule( ): IE-specific method to remove a rule from a stylesheet

IE 4:

25.55.1. Synopsis

void removeRule(integer index)

25.55.1.1. Arguments

index

The index in the rules[] array of the rule to be removed. If this optional argument is omitted, the first rule in the array is removed.

25.55.2. Description

This method removes the CSS style rule at the specified index of the rules array of this stylesheet. This is an IE-specific alternative to the standard deleteRule( ) method.

Категории