I have a method that returns some text I would like to place all the text inside a textbox, how would I do that? This is what my function looks like:
function MethodName() {
  $.ajax({
     type: "POST",
     url: "@Url.Action("Method", "Controller")",
     data: JSON.stringify(),
     contentType: "application/json; charset=utf-8",
     dataType: "json",
     success: function (msg) {
     }
  });
}
This is where I would like to place:
<textarea id="someText"></textarea>
I have a menu e.g.
<div class="bs-example">
<ul class="list-group">
    <li id = 'testbx1' class="list-group-item active">text</li>
    <li id = 'testbx2' class="list-group-item">Documents</li>        
    <li id = 'testbx3' class="list-group-item">Music</li>
    <li id = 'testbx4' class="list-group-item">Videos</li>
</ul>
On click id testbx1 id ='someText' will appear and inside id='someText' data from database will be displayed. I have strongly typed model