asked on August 5, 2015
•
Show version history
I need to hide the Reject button then show it if a dropdown field contains a value, or is not blank.
For reference i have attached what i have been trying to use and alter to no avail.
$(document).ready(function() {
$('.Reject').hide();
$('.Target').on('change', function();
if ($('.Target input').val()! == '') {
$('.Reject').show();
} else {
$('.Reject').hide();
}
});
0
0