score:0

Accepted answer

The problem was that the initial value of display was not visible or initial as I was expecting but inline.

In this case if it is tried to change it from none to inline it works.

myProp.style("display", "inline"); //-> "inline"

Probably it cannot change it to other options, not sure.


Related Query

More Query from same tag