Javascript Reference
Categories: cssRule

javascript cssRule deleteRule( )

@June 13, 2008, 12:32 p.m.
deleteRule( ) Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 2  

deleteRule(index)

  

Removes the zero-based index numbered rule from the current @media rule.

 
W3C DOM CSSRule Types
 
CSSMediaRule
 
Parameters
 
index

A zero-based integer corresponding to the specified item in source code order.

 
Returned Value

None.


Powered by Linode.