<script runat=server language=javascript>
function checkstatus() {
for (count = 0; count < cntrl.value; count++) {
if (form1.ordercheckbox[count].checked === true) {
var accvalue = form1.ordercheckbox[count].value;
alert(accvalue); // This gives me the exact value of checked box! How I can set this value into AMPScript variable?
}
}
}
</script>
After getting the values into Ampscript I need to add it to Data Extension using %%=InsertDE()=%%