Changing css of :after pseudoclass

Changing css of :after pseudoclass

Hi,

In my stylesheet have a css rule for an element with the :after pseudoclass. Is it possible to change the this CSS with jQuery?

For example, in my CSS I have

  1. .price:after {
  2.       content:" EUR";
  3.       font-weight:bold;
  4. }

When I try the following in my JavaScript file
  1. $('.price:after').css({"font-weight":"normal", color:"blue"})
nothing changes.