Difference between revisions of "HQ:Team Information Edit"

Line 357: Line 357:
  
 
jQuery.getJSON("http://dev.igem.org/cgi/aj/team_json.cgi?team_name=ETH_Zurich&year=2015" , function( data ) {
 
jQuery.getJSON("http://dev.igem.org/cgi/aj/team_json.cgi?team_name=ETH_Zurich&year=2015" , function( data ) {
 
  
 
//Places all the info in it's respective data-json-name  
 
//Places all the info in it's respective data-json-name  
 
Object.keys(data).forEach(function(key) {
 
Object.keys(data).forEach(function(key) {
  
 +
alert ("something");
 +
$('[data-json-field="'+key+'"]').text(data[key] );
  
+
}
alert ("something");
+
$('[data-json-field="'+key+'"]').text(data[key] );
+
  
}
+
});
 +
});
  
});
 
});
 
  
 
</script>
 
</script>

Revision as of 15:07, 25 January 2016

General

Schools

Team Description

Team's Status

Country

Region

Kind

Section

Contact

Primary PI

Name

Phone

Email

Secondary PI

Name

Phone

Email

Instructor

Name

Phone

Email

Student Leader

Name

Phone

Email

Project

Track Preferences

Track Preference 1.-

Track Preference 2.-

Track Preference 3.-

Title and abstract

This is a test