title: Render partial view with JQuery / AJAX
body: <p>I try to render partial view and place between div elements.
  I read few articles e.g. 
  <a href="https://stackoverflow.com/questions/23055582/rendering-a-partial-view-with-jquery">Rendering a partial view with jquery</a>
  but still doesn't work.</p>
  
  <p>Where I made mistake?</p>
  
  <p>A.) Place where I want to render my partial view:</p>
  
  <pre><code>&lt;div id="target"&gt;
  
          &lt;/div&gt;
  </code></pre>
  
  <p>If I put between  and  @Html.Partial() I received error!</p>
  
  <p>B.) How I call controler action:</p>
  
  <pre><code> $("#target").load('@Url.Action("GetMessageTypeView", "EmailMessages")');
  </code></pre>
  
  <p>I also tried with:</p>
  
  <pre><code>$.ajax({
          url: '@Url.Action("GetMessageTypeView", "EmailMessages")',
          type: "POST",
      contentType: "application/json; charset=utf-8",
      success: function (data) {
          $('#target').html(data);
      }
  });
  </code></pre>
  
  <p>In both cases I called controller action, but no result.</p>
  
  <p>C.) My controller action:</p>
  
  <pre><code>public ActionResult GetMessageTypeView()
      {
          return PartialView("Partials/MessageTypes");
      }
  </code></pre>
  
  <p>Where I made mistake?
  Is it possible to render partial view and put somewhere in the page without call controler?
  Thanks</p>