Hello, I have a Javascript that is working well to create a random number, but I want to integrate this code to my template , I understand that I can use IFTTT to integrate this code to my template but I don´t how to do it.
This is the code :
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Math</h1>
<h2>The Math.random() Method</h2>
<p>Math.random()*100 returns a random number between 0 and 100:</p>
<p id="Folio"></p>
<script>
let x = Math.floor((Math.random() * 10000) + 1);
document.getElementById("Folio").innerHTML = x;
</script>
</body>
</html>
Need help.
Thanks
Martin
@martin alejandro garcia rodriguez what does this have to do with Confluence or Atlassian's App Questions for Confluence? Are you sure you are posting in the correct forum?
Andy Gladstone, certeinly I am not an expert in Confluence and I not JavaScript expert, but in the Confiform IFTTT there is a list of actions , on of them say RUN JAVASCRIPT, that is the reason why I am writting in this forum, in order to get help to understand why if I comply with the parameters describe in the configuration of IFTTT my template does not work,, I think this forum was created this for. And my case is related about Confiforms.
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@martin alejandro garcia rodriguez moving your question to the Confluence Collection for more visibility and to place it in the right location.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.