title: How to get json data coming from ajax and show it prefilled in input box
body: <p>Following is the code that Ii have used to get the response in <code>json</code>.
  but when I add alert <code>alert(response.Subject);</code> it returns "undefined"</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;input type="text" id="subject" value='Subject'&gt;
  </code></pre>
  
  <p>Javascript:</p>
  
  <pre><code>$.ajax({
      url: "/ebays/prefilledcontentajax",
      type: "POST",
      cache: false,
      async: true,
      data: {
          Type: $("#Type").val(),
      },
      success: function (response) {
          console.log(response); // it show the json that response returns. I want to show in the input box prefilled with the data that response return 
      }
  });
  </code></pre>
  
  <p>please help me out.</p>