Thank you. I have now come across a very basic JSFiddle of which can show the HTML which is brilliant I presume to show things live.
Originally Posted by Airblader
Could someone please give me an insight on how to switch the class of the following:
First of all, #italic will need to be changed to .italic so I can have more than one on the page. The click function, I would like to implement an active class to show that italic is currently enabled.
Also, without duplicating the entire thing, how can I implement more than one and to remove the on function?
The JSFiddle: http://jsfiddle.net/d2L2A/