Created
March 22, 2017 21:24
-
-
Save TristanWiley/1f5ad1358af77e002a9e41a7c3794246 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