[Duplicate] Can someone help me with creating a javascript please?
i Have a javascript that can turn the layers i want on. but what i would love to include is script that will turn some other layers off once the layer is toggled on. Here is what i have so far.
var docOCGs = this.getOCGs();
for (var x=0; x < docOCGs.length; x++)
{
if(docOCGs
docOCGs
{
docOCGs
}
}
I am very new to java and am learning the basics at the moment so any help will be much appreciated!
thanks, Max
