HI i want to change selected marker outline color from blue to any other
rajni sharma
What version of javascript are you using? 4.x or 3.x ?
Are you using experience builder or Web Appbuilder?
I am using 4.16 esri js version
I didn't get your second question
Try these:
jsapi 4.0 popup: set highlight graphic on feature layer click?
change the symbol (color, opacity, size, etc) when I click one feature in the layer
Equivalent of "Select Features" and "Map Graphics" in Javascript 4