Question

8
Replies
145
Views
Prudhvi Ranjan Member since 2017 2 posts
OCBC Bank
Posted: 2 years ago
Last activity: 2 years 6 months ago
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 Interface
Moderation Team has archived post
Share this page LinkedIn