Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/07/2021 in all areas

  1. Try this one, just create a var for each dropdown you have, put that var in the two arrays (dropdownarray and valuesarray) , and you're good to go <script> document.addEventListener("change", function(event){ var d1 = document.getElementById("cbParamVirtual1"); var d2 = document.getElementById("cbParamVirtual2"); var d3 = document.getElementById("cbParamVirtual3"); var dropdownarray= [d1,d2,d3] var valuesarray=[d1.value, d2.value, d3.value] for(var j=0; j<=dropdownarray.length;j++){ //counter for dropdownarray for (var i=1; i<dropdownarray[j].length; i++) { //counter for
    1 point
  2. instead of `[@field:name]` , try something like var qStringVal = document.getElementById("link-[@cbRecordIndex]").textContent ; or document.getElementById("link-[@cbRecordIndex]").innerText; var qStringVal = `[@field:name]`;
    1 point
×
×
  • Create New...