Ajax and dragging

Ajax and dragging

I'm loading a div via ajax and I'm trying to make it draggable, but it is not working.
    $(document).ready(function(){
        $(".classname").draggable();
        $("#divid").draggable();
    });

      [This loads via ajax]
    <div id="divid" class="classname">Inner</div>
      [end ajax load]

     I've tried making the class draggable and the object draggable based off its ID, but because it is loading after the initial document loads, it seems to not be working.  Is there an easy way to make this work?  Some sort of class or property I can assign to the div, like <div draggable="true">?  Any help would be appreciated