Not completely hiding panels

Hello Experts
I was hiding panels based on drop-down conditions but panels header is still showing i have to hide the panel completely.How this will be possible ?

Hi @namitkakusuitecrm,

Could we please have code examples of what you are doing, screenshots or demo of current functionally… Generally just more information as this gives us nothing to go on otherwise.

ok sir i will provide you the screenshot
Please find the video link:

here only body of panel hides but not panel header i want to hide panel header also

Sir i was not able to find the HTML of edit view of task module where should i find the HTML code of that Edit view in Task Module

Still need more information on this one @namitkakusuitecrm,

You added the custom JavaScript surly you know where you put it? If not try right clicking and pressing inspect. At that points look at the sources tab and find the file name. Open that file in an IDE or text view and copy the example of the code you are using to us.

We are not able to help you any further until we have a copy of the JS used to make this change!

Thank you for your understanding.

Sir i got your point and that issue is now solve. Thank you for help.
I have another question How can i edit Activities and History sub panels ?