The workaround is to use the 'readonly' attribute instead, but the problem with that is it doesn't render with a grayed out background. After fiddling for a while I came up with the following script:
dojo.ready(function(){ dojo.query("[readonly]").forEach(function(node, index, arr){ dojo.attr(node.parentNode,"style", "background-color: #efefef !important"); }); });
Maybe someone else will find this useful.
0 comments:
Post a Comment
Are you about to post a generic comment that has nothing to do with this post? Something like "Hey thanks for this very valuable information, BTW here's my website". If so, it will be marked as spam and deleted within 24 hours.
Note: Only a member of this blog may post a comment.