I want to make spring form:checkbox tag to readonly using java script. I can make it to disable using
document.getElementById(‘id’).disabled = true;
But then it doesn’t set value to command object.
I want to make spring form:checkbox tag to readonly using java script. I can
Share
A disabled form input field is indeed not submitted. You could do one of the following: