Manages the Javascript references present in the generated HTML document header for the object.
The Javascript references are managed using a collection of Javascript files. Clear, Add and Item methods are available in addition to the Count property.
This line in the GeneXus object
Form.JScriptSrc.Add('example.js')
will generate the following line in the generated HTML document header
<script type="text/javascript" src="example.js"></script>
When smooth is enabled the generation is as follows, the data-gx-external-script attribute force the script to be included in every refresh.:
<script type="text/javascript" src="example.js" data-gx-external-script></script>
Objects: Transactions, Web Panels
Controls: Forms
Generators: :NET Core, .NET, Java
HeaderRawHTML Property
Meta Property
MetaEquiv Property