Is it possible to do the same in Javascript API v31.4 arcgis 10.3 version?
Smitha,
Questions like this should be posted to the JS API space. Here are some similar threads in the JS API Space:
Change Transparency of Layer in MapService
setLayerDrawingOptions is not changing transparency setting
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.