Team:TU-Delft/SynBioData

From 2013.igem.org

(Difference between revisions)
Line 15: Line 15:
         'FROM 0ArsDNt8sj-LBdEdCREdxUTFmVXpPaTVnZm43d0RTdmc';
         'FROM 0ArsDNt8sj-LBdEdCREdxUTFmVXpPaTVnZm43d0RTdmc';
         var team = document.getElementById('id').value;
         var team = document.getElementById('id').value;
-
         if (team) {
+
         if (id) {
-
           query += " WHERE 'Key Word' = '" + team + "'";
+
           query += " WHERE 'Key Word' = '" + id + "'";
         }
         }
         var queryText = encodeURIComponent(query);
         var queryText = encodeURIComponent(query);
Line 39: Line 39:
       <select id="team" onchange="drawTable();">
       <select id="team" onchange="drawTable();">
         <option value="">All</option>
         <option value="">All</option>
-
         <option value="Germany">Germany</option>
+
         <option value="1">1</option>
         <option value="New Zealand">New Zealand</option>
         <option value="New Zealand">New Zealand</option>
         <option value="Uruguay">Uruguay</option>
         <option value="Uruguay">Uruguay</option>

Revision as of 13:20, 2 September 2013

Fusion Tables API Example: Google Chart Tools Data Table