Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script
- src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
- <script>
- function disableColumns(){
- $('input, select, textarea', '.ms-formbody').prop('disable', true).css('background-color', '#ccc');
- $('textarea[title="Comments"', '.ms-formbody').removeProp('disable').css('background-color', '#ccc');
- }
- $(document).ready(function(){
- disableColumns();
- })
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement