javascript - updating an example string

Soldato
Joined
4 Jul 2004
Posts
2,647
Location
aberdeen
hello
i want to be able to have a few check boxes, that are set out like:

Bold [checkbox]
Underline [checkbox]
Italics [checkbox]

and then:
This is how it'll look

When you check the bold, it makes the "this is how it'll look" bold (by adding style="font-weight: bold"). When you untick it, it removes font-weight: bold. etc

Could anyone help please?
cheers
 
Back
Top Bottom