Easy way to change stylesheet with jQuery

This is my first article here, so i am going to keep it short and sweet, i am going to write a easiest way to switch between stylesheet using jQuery.

Assumed that you already have the html Setup with 3 different buttons (give each a unquie class).
[cc lang=”html”]


Title

Button 1

Button 1

Button 1

Now you will need to include your jQuery and Css of course to the head.

[cc lang=”html”]

Then you will need to add a small snipet to the script tag
[cc lang=”html”]




Title



Button 1
Button 1
Button 1

Here we go, you will start writing the code
[cc lang=”html”]

[cc lang=”html”]