Hide/Show Element

Hi there,

I have a page called Home_New.

I have a grid element called Jobs.

When clicking a button, I want to hide or show the grid. Nothing I try seems to work and all of the other posts seem to be out of date. Can you give me the correct code please?

I've have tried it in a function as follows:


and I've also tried


This doesn't work.

Please can someone help?

I haven't tried code in ng-click box as I don't know what that would be either.

1 person has
this question