- Timestamp:
- Jun 7, 2011, 5:19:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/website/static/heatmap_extensions_test.js
r9237 r9239 20 20 function(json) { 21 21 $.each(json, function(i,json){ 22 gebruiker_class = json.gebruiker; 23 $("<option value='" + json.gebruiker + "'>" + json.gebruiker + "</option>").appendTo("#mark"); 22 $("<option value='" + json.gebruiker + "'>" + json.gebruiker + "</option>").appendTo("#select_user"); 24 23 $.each(json.meetrondje, function(m, meetrondje){ 25 $("<option class='" + gebruiker_class + "' value='" + meetrondje.naam + "'>"+ meetrondje.naam + "</option>").appendTo("#series");24 $("<option class='" + json.gebruiker + "' value='" + meetrondje.naam + "'>"+ meetrondje.naam + "</option>").appendTo("#select_dataset"); 26 25 $.each(meetrondje.nodes, function(n, nodes){ 27 $("<option >" + nodes + "</option>").appendTo("#model");26 $("<option class='" + meetrondje.naam + "' value='" + nodes + "'>" + nodes + "</option>").appendTo("#select_node"); 28 27 }); 29 28 // $("<option>" + meetrondje.datum + "</option>").appendTo("#select_date"); … … 31 30 }); 32 31 // Initiate the chain 33 $("#se ries").chained("#mark");34 $("# model").chained("#series");32 $("#select_dataset").chained("#select_user"); 33 $("#select_node").chained("#select_dataset"); 35 34 } 36 35 );
Note:
See TracChangeset
for help on using the changeset viewer.