If the document is not fully loaded (you can check the readyState), or if a command might not be available due to some of its prerequisites not being set (such a selection creating a TextRange), this method will return a Boolean true value. If it returns a Boolean false, then the command may be available as determined by the enabled test.
Prev | Home | Next |
Document.queryCommandEnabled() | Up | Document.queryCommandState() |
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. |