Load a file and use sortable??

Load a file and use sortable??

Hi there I'm working on a project and got stuck on this tiny script

I load some data from a file and I put in one div:
  1. function getloadedfile (fileurl){
  2. $.ajax({
  3. url : fileurl,
  4. dataType: "html",
  5. success : function (data) {
  6. $("#pagemodule_adminpopup").html(data);
  7. }
  8. });
  9. }
In this file I have some items which should be sortable:
  1. $(function() {  
  2. $(".module_menu_move").sortable({
  3. axis    : 'y'
  4. });  
  5. $(".module_menu_move").disableSelection();  
  6. });
The sortable only works then I don't load it as a separate file any hits on how I should solve this?