title: change label with ajax from controller?
body: <p>Hi everybody I need to change text label from JsonResult on my Controller... I have two problems... </p>
  
  <ul>
  <li><p>1) I can't print on my view the text that I send from my
  controller...</p></li>
  <li><p>2) I want to send 3 labels from my controller when I selected a<br>
  option from my dropdownlist.</p>
  
  <p>Please help if someone know how to do this... :) </p></li>
  </ul>
  
  <p><strong>On my View</strong></p>
  
  <pre><code>&lt;div class="col-md-6 col-sm-6 col-xs-12"&gt;
      &lt;label id="lblCargo"&gt;&lt;/label&gt;
  &lt;/div&gt;
  
  @section scripts{
      &lt;script&gt;
          $(document).ready(function () {
  
          $("#ddlEmpleado").change(function () {
              var selectedItemValue = $(this).find(":selected").val()
  
              $.ajax({
                  cache: false,
                  type: "GET",
                  url: '@Url.Action("getLabels", "AsignarBien")',
                  data: {
                      "id": selectedItemValue,
                  },
                  contentType: 'application/json; charset=utf-8',
                  Success: function() {
                      $("#lblCargo").text(data);
                  },
                  error: function() {
                      alert("error");
                  }
                  }
              );
          });
  
      });
  &lt;/script&gt;
  }
  </code></pre>
  
  <p><strong>On my Controller I got this</strong></p>
  
  <pre><code>public JsonResult getLabels(Guid id)
  {
      var result = (from item in vempleados.GetAll().ToList()
          where item.IdEmpleado == id
          select item.Cargo).SingleOrDefault();
  
      return Json(result, JsonRequestBehavior.AllowGet);
  }
  </code></pre>