AnsweredAssumed Answered

Can I use Javascript in Message Shape?

Question asked by vijayramaraju.kurapati592559 on Jul 26, 2018
Latest reply on Jul 29, 2018 by Sjaak Overgaauw

Hi All, 

 

Can I use Javascript inside <HTML> tags in Message Shape. 

 

<html>
<body>

<h2>JavaScript Statements</h2>

<p>In HTML, JavaScript statements are executed by the browser.</p>

<p id="demo"></p>

<script>
document.getElementById("demo").innerHTML = "Hello Dolly.";
</script>

</body>
</html>

 

When I give the above <html> code in Message shape, It's not considering <script> tags or somehow the process is not going into <script> tag. I would like to know if we can embed javascript inside <HTML> tags in Message shape?

 

Thanks,

Vijay

Outcomes