I have a link list named linklistbc , which contains 4 actions. I'm seeking a method to programmatically hide two of these actions using JavaScript. How can we accomplish this?

I have a link list named linklistbc , which contains 4 actions. I'm seeking a method to programmatically hide two of these actions using JavaScript. How can we accomplish this?

Hi there, welcome to the community
Couple of ways to do this - if your list is static then you can attach the show/hide logic into each item and they will dynamically hide when you set a variable elsewhere in your code. eg: