User Guide

Code view functions 525
Returns
Nothing.
dom.getShowNoscript()
Availability
Dreamweaver MX.
Description
Gets the current state of the noscript content option (from the View > Noscript Content
menu option). On by default, the
noscript tag identifies page script content that can be
rendered, or not (by choice), in the browser.
Arguments
None.
Returns
A Boolean value: true if the noscript tag content is currently rendered; false otherwise.
dom.getAutoValidationCount()
Availability
Dreamweaver MX 2004.
Description
Gets the number of errors, warnings, and information messages for the last auto-validation
(also known as an inline validation) of the document. Currently only a target-browser check is
performed during auto-validation (see dom.runValidation()” on page 322).
Arguments
None.
Returns
An object with the following properties:
The numError property, which is the number of errors
NOTE
This function returns only the results that are currently in the results window for the
document. If you want to make sure that the counts are up-to-date, you can call
dom.runValidation() before calling this function.
000_DW_API_Print.book Page 525 Wednesday, July 20, 2005 11:58 AM