Referencing an external javascript library

Referencing an external javascript library

  
How would I add a reference to an external (to outsystems) javascript library from within a web block?

for example, I want the HTML code to come out like
<script src="http://www.webserver.com/smud/__utm.js"></script>

I have tried assigning it to an expression, and a variable, but it always seems to complain about an unexpected double quote.

i.e. variable='<script src="http://www.webserver.com/smud/__utm.js"></script>'

Thanks
Ken
Hi Ken,

to be able to write HTML code in OutSystems web pages you have to insert an expression with the attribute "Escape Content" set to "No".
Then, the HTML you write must have all the double quotes escaped. You can do that in one of two ways: replace the " for a '; or replace a " for "".
In your situation you would have:
-"<script src='http://www.webserver.com/smud/__utm.js'></script>"
or
-"<script src=""http://www.webserver.com/smud/__utm.js""></script>"

Hope this helps.

Best regards,
Cláudia Macedo