Last active
August 17, 2020 05:33
-
-
Save ankushsomani09/956527a94b10375c31c85e4712ff4459 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//To Mark/Check Read only field | |
var arrayRead = document.querySelectorAll('input[id$=fls_read_ck]'); | |
for(i=0;i<arrayReadOnly.length;i++){ | |
if(!arrayReadOnly[i].checked){ | |
arrayReadOnly[i].checked = true; | |
} | |
} | |
//To Mark/Check Edit field | |
var arrayEdit = document.querySelectorAll('input[id$=fls_edit_ck]'); | |
for(i=0;i<arrayEdit.length;i++){ | |
if(!arrayEdit[i].checked){ | |
arrayEdit[i].checked = true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment