Line 159: | Line 159: | ||
]; | ]; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
//Place all the team information in the general printing div | //Place all the team information in the general printing div | ||
− | |||
for( x=0; x< all_teams_info.length; x++) { | for( x=0; x< all_teams_info.length; x++) { | ||
Line 193: | Line 177: | ||
+ | //generate team list | ||
+ | setup_team_list(all_teams_info); | ||
− | + | ||
+ | //if a search is requested | ||
$('.search_input').click(function() { | $('.search_input').click(function() { | ||
− | + | search_request(this.id); | |
− | + | ||
− | + | ||
}); | }); | ||
+ | |||
+ | |||
+ | |||
+ | |||
Line 213: | Line 202: | ||
} | } | ||
} | } | ||
+ | |||
+ | |||
}); | }); | ||
+ | |||
+ | function generate_team_list(all_teams_info){ | ||
+ | |||
+ | 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>"); | ||
+ | |||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | function search_request(search_input_id){ | ||
+ | |||
+ | $(search_input_id).val(); | ||
+ | console.log("searching for:"+search_input_id ); | ||
+ | |||
+ | } | ||
</script> | </script> |
Revision as of 19:39, 4 September 2019
Information on all teams
This page contains information and links to all the 2019 teams. If you would like to search by category or look for a specific team, you can do so by click below.