AnsweredAssumed Answered

Embed form script on website without script tags

Question asked by 63178 on Aug 28, 2014
Latest reply on Aug 28, 2014 by 48605
Does anyone know how to write script without including the <script> tags?

Our CMS, Sitefinity, won't allow the script tags to be included in the code:

     Tips

Do not add <script> tag, it will be added automatically. Start writing your JavaScript directly.

Example:
var str = "Hello World!";


     Here's the script I'd like to add to the website:

     <script src="//app-ab03.marketo.com/js/forms2/js/forms2.js"></script>
     <form id="mktoForm_1010"></form>
     <script>MktoForms2.loadForm("//app-ab03.marketo.com", "850-JUB-810", 1010);</script>

     Does anyone know how to write the above script without the <script> tag?

     Thanks!

Outcomes