title: How to append HTML string to div via Ajax
body: <p>I really have big difficulties with Ajax, this time I'm not able to append some HTML code to a div.</p>
  
  <p>I need to append to <code>&lt;div id="content-loader"&gt;&lt;/div&gt;</code> this HTML string</p>
  
  <p><strong>PHP</strong></p>
  
  <pre><code>function getLogo(){
      $logo = '&lt;div class="bg-logo-loading"&gt;&lt;/div&gt;
              &lt;div class="logo-loading-container"&gt;
                  &lt;div class="logo-loading-inner"&gt;
                      &lt;div class="logo-loading"&gt;
                        &lt;div&gt;&lt;/div&gt;
                        &lt;div&gt;&lt;/div&gt;
                        &lt;div&gt;&lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;';
      return $logo;
  }
  </code></pre>
  
  <p>Using this Ajax POST: </p>
  
  <p><strong>JS</strong></p>
  
  <pre><code>function showLoader(){
      $.ajax({
          type: "POST",
          url: baseUrl+"/requests/get_Logo.php",
          dataType : 'html',
          cache: false,
          success : function(html){
              $('#content-loader').html($(html.content).text());
          }
      });
  }
  </code></pre>
  
  <p><strong>get_Logo.php</strong> </p>
  
  <pre><code>&lt;?php
  include("../includes/config.php");
  include("../includes/classes.php");
  
  $feed = new feed();
  echo $feed-&gt;getLogoLoading();
  ?&gt;
  </code></pre>
  
  <p>Is there any chance to make it works?</p>