i have the following script.
<script>
var downloadButton = document.getElementById("download");
var counter = 40;
var newElement = document.createElement("p");
newElement.innerHTML = "<h2><font color=red>Please wait 40 seconds while we prepare your files for download...</font></h2>";
var id;
downloadButton.parentNode.replaceChild(newElement, downloadButton);
id = setInterval(function() {
counter--;
if(counter < 0) {
newElement.parentNode.replaceChild(downloadButton, newElement);
clearInterval(id);
} else {
newElement.innerHTML = "<h2><font color=red>Please wait " + counter.toString() + " seconds while we prepare your files for download...</font></h2>";
}}, 1000);
</script>
HTML:
[su_button id="download" url="https://drive.google.com/drive/folders/1txyEV3XlFJSIlRLUtATpB-pdWfnpg69Y?usp=sharing" target="blank" size="5" wide="yes" center="yes"]Download[/su_button]
I want to call more than one IDS. How to do that?