dark_mode EN
  • Method WDoc :AddScript
  • Parameters
    cText

    Source code in JavaScript or URL

    cName

    Name (cName) that will contain the created control. If a name is indicated and there is a file with the same name and 'js' extension in the DocumentRoot/js folder, xaWeb will include the reference to that file in the deployment, instead of including all the JS code in the document itself. It is important that the code is deterministic, that is, that it is always the same.

    lUri
  • Return value

Creates a WScript object and adds it to the document

Previous chevron_left Next chevron_right