-
-
Save robbyoconnor/e3272f6d789b98054757f8df02a03320 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$('.q-item').each(function(index, entry){ | |
var item = $(entry).find('.form-field-body').find('ul').children().get(1); | |
if($(item).text().includes("Disapprove")){ | |
$(item).find('input').prop('checked', true); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment