In the same way that you can lock a rule and make it read-only, you can also use this property to lock an entire style sheet to prevent it from being changed in the browser by JavaScript.
See also: | rule.readOnly |
Prev | Home | Next |
StyleSheet.parentStyleSheet | Up | StyleSheet.removeRule() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |