title: Print out to a div in the view from the controller
body: <p>I have a div block in my view like this:</p>
  
  <pre><code>   &lt;div id="divStatus" style="margin-top:10px;width: 200px; height: 100px; overflow-y: scroll;"&gt;
     &lt;/div&gt;
  </code></pre>
  
  <p>then from the view, user clicks on a button that calls the controller. In the controller some tasks are executed so from the controller I want to update a div block within the view. In this div I print out phrasses.</p>
  
  <p>How to do this?</p>
  
  <p>example:</p>
  
  <pre><code>public ActionResult()
      {
          // Do something
      Update_DIV_in_View("some thing has been done"); &lt;--- DIV in the view must be updated by appending this message
  
      // Do another thing
      Update_DIV_in_VIEW("another thing has been done");&lt;--- DIV in the view must be updated by appending this message
  
      .... and so on
  
      // All things done
      Update_DIV_in_VIEW("All things have been done");&lt;--- DIV in the view must be updated by appending this message
  
      return View();
  }
  </code></pre>