I am trying to give the following style:
.myclass{content: "\2a";}
it works in all browsers except IE8
.
In IE8
as well, it works on giving alerts.
I think its trying to apply style before the element is loaded.
How do I deal with it?
I tried:
$(".myclass").append($('<style>.ui-icon-closethick:after { content: " *" }</style>'));
But, this also did not work.