Is it possible to remove the ReadOnly attribute from text fields?
I'm trying to remove the ReadOnly attribute from the FacilityID field in the CreateCase.xml file.
<![CDATA[<script type="text/javascript">
window.onload = function() {
document.getElementById("ctl00_ctl00_CWPMain__defaultpage_SEntry225_txtFacility_Id").removeAttribute("readOnly");
}
</script>]]>
I'm not sure if I have the correct ID name but that is what is returned using the Inspect Tool. Nothing is changed on the page with this code.
