title: Jquery+Ajax: Run a plugin with no page refresh
body: <p>I am using a snowStorm plugin to generate a snow storm effect on my webpage.</p>
  
  <p>I am trying to make it so if they click one button eg "Summer", the snowStorm will stop and if they click another button eg "Winter" the snowStorm will run again.</p>
  
  <p>Now i got this working:</p>
  
  <pre><code>$(document).ready(function(){
    $("#Winter").click(function(){
   $.getScript("js/snowStorm.js")
   {
   location.reload();
   }
    });
  
    $("#Summer").click(function(){
     snowStorm.stop()
    });
  </code></pre>
  
  <p>I was wondering if there is a better way of improving this code so it will not reload the entire page to run the snowStorm effect. I was thinking of using AJAX (No page refresh) but im not sure if that will solve the problem here</p>