How to Show and Hide Objects by Class in VisualNEO Web? - Forum

Forum Navigation
You need to log in to create posts and topics.

How to Show and Hide Objects by Class in VisualNEO Web?

Hi everyone,

I'm working with VisualNEO Web and was wondering if there's a way to show and hide objects using their "class" instead of individual IDs? I need to control the visibility of multiple elements at once. Any guidance or examples would be greatly appreciated!

Thanks in advance!

@asmat, try this to toggle visibility:

BeginJS
 $(".myclass").toggle(800);
EndJS

To hide:

BeginJS
 $(".myclass").hide(800);
EndJS

To show again:

BeginJS
 $(".myclass").show(800);
EndJS