Difference between revisions of "HQ:Team Information Edit"

Line 354: Line 354:
  
 
$(document).ready(function(){
 
$(document).ready(function(){
 +
alert ("something");
 
// Place team's general information  
 
// Place team's general information  
  
 
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
 
 
Object.keys(data).forEach(function(key) {
 
Object.keys(data).forEach(function(key) {
  
alert ("something");
+
 
 
$('[data-json-field="'+key+'"]').text(data[key] );
 
$('[data-json-field="'+key+'"]').text(data[key] );
  

Revision as of 15:12, 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