Home Analyst Portal

How do you hide a Panel?

Martyn_FearnMartyn_Fearn Customer Adept IT Monkey ✭✭
We have a number of different Change Request templates and we hide various elements of the base Change template depending on which type of Change template is selected.

What we would like to do is hide an entire panel of a tab in one go but I can't seem to target them.

For example, to hide the 'Scheduled End Date' we use this:-


var ScheduledEndDateLabel = $(".form-group label[for='ScheduledEndDate']"); var ScheduledEndDateWrapper = ScheduledEndDateLabel.next(); ScheduledEndDateLabel.hide(); ScheduledEndDateWrapper.hide();

We would like something similar to hide a whole panel (such as the 'Knowledge Article' panel on the Related Items tab) if somebody could help?

TIA

Best Answer

Answers

  • Martyn_FearnMartyn_Fearn Customer Adept IT Monkey ✭✭
    Thank you @Tom_Hendricks this worked perfectly.

Sign In or Register to comment.