javascript styleSheet deleteRule( )

deleteRule( )NN 6 IE 5(Mac) DOM 2  

deleteRule(index)

  

Removes a rule from the styleSheet object. The integer index parameter value points to the zero-based item in the cssRules array to delete. Note that IE 5 for Macintosh implements both the Microsoft removeRule( ) and W3C DOM deleteRule( ) method for the same operation.

 
Parameters
 
  • A zero-based integer indicating which rule in the cssRules collection is to be deleted.
 
Returned Value

None.


1964,Nickname,Homepage or email,Comments here,Add comment