Team:SYSU-Software/prefix.js

From 2013.igem.org

(Difference between revisions)
Line 11: Line 11:
  cache: false,
  cache: false,
  success: function(html){
  success: function(html){
-
$("#footer").append($(html).find("footer").html());
+
$("footer").append($(html).find("footer").html());
  }
  }
});
});
}
}

Revision as of 17:01, 11 April 2013

window.onload = function(){ $.ajax({ url: "/Team:SYSU-Software/header", cache: false, success: function(html){ $("#navigation").append($(html).find(".row").html()); } }); $.ajax({ url: "/Team:SYSU-Software/footer", cache: false, success: function(html){ $("footer").append($(html).find("footer").html()); } }); }