Solved! Go to Solution.
var operationalLayer = new esri.layers.ArcGISDynamicMapServiceLayer(serverURL, { "opacity": 0.5 } ); operationalLayer.setVisibleLayers([0]);
var operationalLayer = new esri.layers.ArcGISDynamicMapServiceLayer(serverURL, { "opacity": 0.5 } ); operationalLayer.setVisibleLayers([0]);