I need to find the right code in jquery that will allow me to switch between stylesheets fast with buttons. I currently have no jquery, for all of mine failed. I am still learning it. Anyway, here is the html:
/* Theme 1 */
body {
background: #ff4455;
}
/* Theme 2 */
body {
background: #ee7744;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<body>
<input type="button" id="theme1">
<input type="button" id="theme2">
<script type="text/javascript"></script>
</body>
Here is a snippet of the code. I need the jquery inside the <script type="text/javascript"></script>
Thanks for your help! :D