My goal: Mousehover a link, have a certain element on the page change the .class:before content to something from the link title.
Therefore:
I want to change the content of a .class:before, namely .test:before. However,
$("#test:before").css("content","whatever the content should be");
does not do the job. How do I adress :before classes?
Alternatively, I could use .before(); - Yet, I don't know how to unset .before(); once my mouse is off the link. Might be an alternative solution?
Looked up the jquery documentation - cant find the solution - probably due to my limited jquery knowledge ;)
Help appreciated!