Team:UCLondon/Templates/timeline-item
From 2012e.igem.org
(Difference between revisions)
Line 20: | Line 20: | ||
<script> | <script> | ||
+ | |||
+ | $(document).ready(function(){ | ||
+ | |||
var participants = '</html>{{{participants}}}<html>'; | var participants = '</html>{{{participants}}}<html>'; | ||
+ | alert(participants); | ||
+ | |||
+ | participants = participants.split(','); | ||
+ | |||
+ | |||
+ | |||
$(participants).each(function(i){ | $(participants).each(function(i){ | ||
$('.participants').append($(this).text()); | $('.participants').append($(this).text()); | ||
}); | }); | ||
- | + | }); | |
</script> | </script> | ||
</html> | </html> |
Revision as of 01:08, 21 October 2012