I would like to make a inputfield readonly. I am familiar with the setDisabled() method in XRM, the downside of this method is that it is not possible to copy/paste values from the fields.
Is there another way then using javascript/jQuery directly to set the readonly property on the field by using it's field name?
Kind regards Rim
您可以使用jQuery来做到这一点:
$("#element").attr("readonly" , "readonly");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.