Share via


DesignerDocument.reapplyScript Method

SharePoint Designer Developer Reference

Verifies that the functions associated with script calls on the selected element are within a SCRIPT element in the HEAD element of the document and inserts them if they are missing.

Syntax

expression.reapplyScript(element)

expression   Required. A variable that represents a DesignerDocument object.

Parameters

Name Required/Optional Data Type Description
element Optional Variant Specifies an element within the document. If omitted, the reapplyScript method checkes all elements within the document.

See Also