Solved
Forum Discussion
royd
Regular Contributor
Hi Robert
Sorry for delayed response. It took me a while but finally figured it out. Thanks for pointing me to right direction. This is what finally worked:
var previewColor = previewSwatch.ownerDocument.defaultView.getComputedStyle(previewSwatch, "").backgroundColor;
TanyaYatskovska
6 years agoSmartBear Alumni (Retired)
Related Content
- 11 years agoRyan_Moran
Recent Discussions
- 4 hours agoSvetaG