title: store response from $.get in a variable to use later
body: <p>I'm retrieving a response from a php with $.get, but how do I store the response in a variable so I can use it later in my code? Thanks!</p>
  
  <pre><code>   $.get('promo_getstate.php', {
              email: emailaddress,
              country: 'DE',
              lang: lang,
              source: '1304_Spring_dly'
                  }, function (data) {
                      console.log('data is' + data);
                      getstate = data;
                   }); 
  </code></pre>