Dynamically change text style.

admin

Administrator
Staff member
What is the syntax to dynamically change a CSS text style? I want to be able to change the font family, font-size etc from Javascript.

This may seem like an odd thing to want to do - but I have a good reason for it.

If there isn't a way to do this, I'll just put in HTML tags in my dynamically changing text.
 
Back
Top