Posted By

szsk on 08/24/06


Tagged

css javascript ie DOM Opera Firefox


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

shachi
vali29


deleteStylesheetRule


 / Published in: JavaScript
 

URL: http://bmky.net/text/note/javascript-css.html

  1. function deleteRule( index, sheetindex ) {
  2. if( sheetindex == undefined ) sheetindex = 0;
  3. document.styleSheets[ sheetindex ].deleteRule( index );
  4. }

Report this snippet  

You need to login to post a comment.