Originally Posted by stivens
im not very sure if this is even possible and if it is a php topic or JS topic?
A little bit of both.
It depends on how you want to do it.
You need to have that note state stored somewhere so you can compare it.
It can be done with cookies, session or mysql.
Choose what best suits you, i would do it with cookies.
Then you can easily change that note css class.