Can an existing class get changed dynamically ?
If I have an existing class cl_sqr....
.cl_sqr { color:#000000; background-color:#FF7070; font-weight:bold; font-family: arial; }
is there a way to accomplish effectively.....
if opt==2 cl_sqr background-color is changed to #ff00ff
if opt==3 cl_sqr background-color is changed to #ffffff
(the className cl_sqr is retained but definition is revised)
If I have an existing class cl_sqr....
.cl_sqr { color:#000000; background-color:#FF7070; font-weight:bold; font-family: arial; }
is there a way to accomplish effectively.....
if opt==2 cl_sqr background-color is changed to #ff00ff
if opt==3 cl_sqr background-color is changed to #ffffff
(the className cl_sqr is retained but definition is revised)