Question

8
Replies
168
Views
Close popover
Ranz Nals (Prudhvi Ranjan)
OCBC Bank

OCBC Bank
MY
Prudhvi Ranjan Member since 2017 2 posts
OCBC Bank
Posted: March 21, 2018
Last activity: March 27, 2018
Closed

Javascript is not supported while generating PDF from HTML file

Hi All,

I have the below code in HTML rule and needs to get generated as Pdf using an activity. From the below code, everything is working as expected except <script> tag.

Appreciate your response in advance.

Code:

<!DOCTYPE html>
<html>
<body>

<h2>JavaScript Loops</h2>

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

<script>
var text = "";
var i;
for (i = 0; i < 1; i++) {
text += "The number is " + i + "<br>";
}
document.getElementById("demo").innerHTML = text;
</script>

</body>
</html>

***Updated by moderator: Lochan to add Categories***

Data Integration Java and Activities User Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.