How do I enable an external script?

<< Click to Display Table of Contents >>

Navigation:  Forum >

How do I enable an external script?

Forum link

 


 

09-22-2020, 04:23 PM:

 

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? 

 


 

09-24-2020, 11:28 AM:

 

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

 


 

10-02-2020, 03:51 AM:

 

All ingenious is simple. Thank you very much.