I have developed JSP custom tag named <ctn:input mandatory = true> with one custom attribute named mandatory.
Now i want to change mandatory value to false on click event of some other tag.
I am not able to change it using document.getElementById(id).mandatory = "false".
Is it possible ? how ?
I have developed JSP custom tag named <ctn:input mandatory = true> with one custom
Share
<ctn:input mandatory = true>is server side stuff and client will not recieve this as HTML dom so your java script won’t play with it. You need to find out some other way for the same