In my javascript code, i am trying to access a child's class which is present in external style sheet. Using
window.getComputedStyle("className", null).getPropertyValue("color")
throws an Unhandled error: WRONG_ARGUMENTS_ERR. Do anyone see any issue in this?
I want to access the class property, which is present in external stylesheet.
Thanks