Can someone tell me why I cannot save client side JS for a question. If I click on update after entering the JS the page just refreshes showing the question options including the JS, instead of returning to the page just showing the question select box. If I click update and exit it exits but when I go back into the question the JS hasn't been saved. In both cases there is no indication of what has gone wrong.
In other cases the JS does get saved.
Using DR 4.1.43.16605 and DNN 4.9.5
TIA
Antony
ps If you don't allow the uploading of txt files you should remove it from the forum.
Script trying to be saved
if(document.getElementById('dnn_ctr789_DynamicRegistration_Responses_8e340057-3642-481e-8fbc-3ceed713776a').checked == true)
{document.getElementById('dnn_ctr789_DynamicRegistration_Responses_4c237bc0-e1fe-4ac2-95a2-fc85b3971370').checked = true;
document.getElementById('dnn_ctr789_DynamicRegistration_Responses_be664483-d2c2-4cca-87a9-987aa45fbcdd').checked = false;
document.getElementById('dnn_ctr789_DynamicRegistration_Responses_7efb748d-d818-4832-ab27-84cdfcce001b').checked=true;
displaymembershipdetails('true');
}
else
{document.getElementById('dnn_ctr789_DynamicRegistration_Responses_4c237bc0-e1fe-4ac2-95a2-fc85b3971370').checked = false;
document.getElementById('dnn_ctr789_DynamicRegistration_Responses_be664483-d2c2-4cca-87a9-987aa45fbcdd').checked = true;
document.getElementById('dnn_ctr789_DynamicRegistration_Responses_7efb748d-d818-4832-ab27-84cdfcce001b').checked=true;
displaymembershipdetails();
}