Changing a Class Dynamically with jQuery?

Changing a Class Dynamically with jQuery?

I'm extremely new to this, so please bear with me. I have a template that will have tons of different background options. I want people looking at the demo to be able to test out each one without having to reload the page. 

So how would I go about this do you think?