Atozed Forums
How do I enable an external script? - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: How do I enable an external script? (/thread-1993.html)



How do I enable an external script? - Сергей Александрович - 09-22-2020

The javaScript description says that an external script is connected like this: <script src= "/my/script.js">< / script> 
How do I do this in IntraWeb ? How do I enable an external script?  Huh


RE: How do I enable an external script? - Alexandre Machado - 09-24-2020

It is simpler than that.

Add it to the ContentFiles property of your form, like that:

script.js

then add the script.js to the wwwroot (every IW application must have a folder named wwwroot under the folder where the binary file is (.exe or .dll).

That's it. It will just work


RE: How do I enable an external script? - Сергей Александрович - 10-02-2020

All ingenious is simple. Thank you very much.