Consider this example.
I have a div and before it I added some content using :before in css. Now I want to access content(which is "some text before div ") I have added using jquery.
How can I do that?
html:
<div>A div</div>
css:
div:before{
  content:"some text before div ";
}
 
     
     
    