I have an issue with the web version of Limesurvey.
I have a multiple choice question with comments and I want to hide comments for some answers. In the local version I used the following script :
var codesToHide = ; //add answer codes to hide here.
for (var i = 0; i < codesToHide.length; i++) {
$('#answer{SGQ}'+codesToHide+'').parent().parent().find('input:text').hide();
};
});
</script>
This works in the desktop version but not for web version. When I check logic, SGQ is highlighted in red.
Can anyone help ? Note I'm new to lime and java.