Team:SYSU-Software/prefix.js
From 2013.igem.org
(Difference between revisions)
Nie1234567 (Talk | contribs) |
Nie1234567 (Talk | contribs) |
||
Line 2: | Line 2: | ||
alert("hi"); | alert("hi"); | ||
$.ajax({ | $.ajax({ | ||
- | url: " | + | url: "/Team:SYSU-Software/header", |
cache: false, | cache: false, | ||
success: function(html){ | success: function(html){ | ||
Line 9: | Line 9: | ||
}); | }); | ||
$.ajax({ | $.ajax({ | ||
- | url: " | + | url: "/Team:SYSU-Software/footer", |
cache: false, | cache: false, | ||
success: function(html){ | success: function(html){ |
Revision as of 14:48, 11 April 2013
window.onload = function(){
alert("hi");
$.ajax({ url: "/Team:SYSU-Software/header", cache: false, success: function(html){ $("#navigation").append(html); } }); $.ajax({ url: "/Team:SYSU-Software/footer", cache: false, success: function(html){ $("#footer").append(html); } }); }