Team:TU-Delft/SynBioData

From 2013.igem.org

(Difference between revisions)
Line 14: Line 14:
         var query = "SELECT 'Key Word' as id, " +
         var query = "SELECT 'Key Word' as id, " +
             'FROM 1VlPiBCkYt_Vio-JT3UwM-U__APurJvPb6ZEJPg';
             'FROM 1VlPiBCkYt_Vio-JT3UwM-U__APurJvPb6ZEJPg';
 +
var id = document.getElementById('id').value;
 +
        if (id) {
 +
          query += " WHERE 'Key Word' = '" + id + "'";
 +
        }
         var queryText = encodeURIComponent(query);
         var queryText = encodeURIComponent(query);

Revision as of 13:26, 2 September 2013

Fusion Tables API Example: Google Chart Tools Data Table