title: jQuery $.get call to method in Controller
body: <p>I have a .csHtml page. The page is populated by calling a method in the contoller using Jquery $.get. The method in the controller makes a database call and returns a partial view. The partial view is rendered inside a DIV tag. </p>
  
  <p>The data is being displayed real time. Now when I hit ctrl + f5, the page refreshes, but it still shows the same data. I put a breakpoint in the controller method and realized that the method in controller is not being called. </p>
  
  <p>The first time the method is being called when I hit F5 and run in Visual Studio. The second time when I refresh the data is not being refreshed. </p>
  
  <p>If I have to see any changes being displayed in the database, I need to restart the visual studio.</p>
  
  <p>Any clue on what could be happenning?? Below is the snippet of code.</p>
  
  <pre><code>// Our onReady actions;
  $(document).ready(function () {
      $('#RateTab').click(function () {
          getRates();
      });
  });
  
  function getRates() {
      var URL = "home/Rates";
  
      $.get(URL, function (data) {
          $('#loading').hide();
          $("#rates").html(data);
  
          //Initialize();
      });
  }
  </code></pre>
  
  <p>Any ideas and suggestions on what could be happenning ??</p>