Line 27: | Line 27: | ||
− | <select | + | <select id="team_list"> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</select> | </select> | ||
Line 130: | Line 127: | ||
+ | |||
+ | //generate team list | ||
+ | |||
+ | var clean_name; | ||
+ | |||
+ | for (x=0; x< all_teams_info.length; x++){ | ||
+ | |||
+ | clean_name = (all_teams_info[x].team_name).replace(/ /g, "_"); | ||
+ | |||
+ | $("#team_list").append("<option value='"+clean_name+"'>"+all_teams_info[x].team_name+"</option>"); | ||
+ | |||
+ | } | ||
Revision as of 17:57, 4 September 2019