Team:UT Dallas/page js

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
-
function show_info(id)
+
function show_info(res_id)
{
{
-
  alert(id);
+
$.get('https://2013.igem.org/Team:UT_Dallas/'+res_id+'?action=raw&ctype=text/html', function(data)
 +
{
 +
alert(data);
 +
});
}
}

Revision as of 00:35, 7 September 2013

function show_info(res_id) { $.get('https://2013.igem.org/Team:UT_Dallas/'+res_id+'?action=raw&ctype=text/html', function(data) { alert(data); }); }