The matched elements will be hidden immediately, with no animation. This is roughly equivalent to callingĀ .css( "display", "none" )
We can use if else condition in hiding and showing an element css can be used in script using jquery hide and show is triggered when condition is executed
fieldtrigger: function fieldtrigger(e) {
var currentitemid = this.$(e.target).data('id');
if ((e.currentTarget.id == 'custcol_ag_logooptionselectbox-inputid')) {
if (value == 'no') {
$('#pdp-controls-first').hide();
} else {
$('#pdp-controls-first').show();
}
}
}