title: how to use Ace_Scroll after ajax request
body: <p>I'm using Ace Admin Template.</p>
  
  <p>I'm appending some contents to a div with id <code>#Mydiv</code>and using ace-scroll for that same div (<code>#Mydiv</code>). When I append contents to the div, ace-scroll does not work and doesn't detect the new height:</p>
  
  <pre><code>var out = '';
  var dv = $('#Mydiv');
  $.ajax({
     url:  url,
     type: 'POST',
     data:{pg:pg},
     error: function() {
       return;
     },
     dataType: 'html',
  
     success: function(data) {
       if(data.trim() !=='ERROR'){
         out = data.trim();   
         dv.append(out);
       }
     },
  
     complete:function(v){
       /////////NOT WORK//////////////////
       dv.ace_scroll({inline_style:true,size: 200,observeContent:true, mouseWheelLock: true});
     }  
  
  }); 
  </code></pre>