Team:SUSTC-Shenzhen
From 2014.igem.org
(Difference between revisions)
Line 32: | Line 32: | ||
} | } | ||
defer(function() { | defer(function() { | ||
- | $.get("/Team:SUSTC-Shenzhen/WikiPlay/index.htm?action=raw").success(function( | + | $.get("/Team:SUSTC-Shenzhen/WikiPlay/index.htm?action=raw").success(function(data, textStatus, jqXHR) { |
console.log(res); | console.log(res); | ||
- | + | $('html')[0].innerHTML = (res); | |
+ | jQuery(selecteur).html(jqXHR.responseText); | ||
+ | var reponse = jQuery(jqXHR.responseText); | ||
+ | var reponseScript = reponse.filter("script"); | ||
+ | jQuery.each(reponseScript, function(idx, val) { eval(val.text); } ); | ||
+ | |||
}); | }); | ||
}); | }); |
Revision as of 07:37, 27 July 2014