Team:UCLondon/Templates/timeline-item

From 2012e.igem.org

(Difference between revisions)
Line 23: Line 23:
-
var participants = '</html>{{{participants}}}<html>';
+
var participants = '</html>{{{participants}}}<html>', i;
-
alert(participants);
+
 
participants = participants.split(',');
participants = participants.split(',');
 +
for (i=0; i < participants.length; i++){
 +
      $('.participants').append($(participants[i]).text());
 +
}
-
$(participants).each(function(i){
 
-
    $('.participants').append($(this).text());
 
-
});
 

Revision as of 01:15, 21 October 2012