script Function

Adds the script to the document.

Summary

ElementFunction
ReturnsObject

Arguments

pathString[required] The path to the script from "/pagetype/scripts/".

Example

PageType.script('nano-v1.0.js');
CodeMessageLineFile
2count(): Parameter must be an array or an object that implements Countable224/home2/ptorg/public_html/pagetype/content/pages/en/docml.viewer.php