title: How to Get HTML Response in Ajax Get request?
body: <pre><code>$.ajax({
          type: "GET",
          url: url,
          dataType: 'html',
          async: false,
          crossDomain: true,
          headers: {
              'Access-Control-Allow-Origin': '*',
              'Access-Control-Allow-Methods': 'GET, POST,PUT',
              'Content-Type': 'text/html'
          },
          success: function (data) {
              debugger;
              console.log($(data));
          },
          error: function (xhr, ajaxOptions, thrownError) {
              debugger;
              console.log('xHR: ' + xhr);
              console.log('ajaxOption: ' + ajaxOptions);
              console.log('thrownError: ' + thrownError);
          }
      });
  </code></pre>