title: How to get global variable's value in jquery?
body: <p>I've declared a static class named Global. In that class I've declared a static string variable LastID. I'm assigning values to this static variable in different web pages. Now I want to get the value of this Global variable in my .aspx page through jQuery. Can you suggest how I can get the value? In my Global class, code looks like this:</p>
  
  <pre><code>public static class Global
  {
      static string lastID;
      public static string ImportantData
      {
          get
          {
              return lastID;
          }
          set
          {
              lastID = value;
          }
      }
  }
  </code></pre>
  
  <p>I'm assigning value like this:</p>
  
  <pre><code>string LID = "MyID";
  Global.ImportantData = LID;
  </code></pre>
  
  <p>Now I want to get this Global.ImportantData value with jQuery. How do I do that?</p>