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