Line 178: | Line 178: | ||
//generate team list | //generate team list | ||
− | setup_team_list(all_teams_info); | + | setup_team_list(all_teams_info, all_teams_info); |
− | |||
//if a search is requested | //if a search is requested | ||
$('.search_input').click(function() { | $('.search_input').click(function() { | ||
search_request(this.id); | search_request(this.id); | ||
}); | }); | ||
− | |||
− | |||
− | |||
− | |||
Line 213: | Line 208: | ||
− | function search_request( | + | function search_request(object_variable, all_teams_info){ |
− | var | + | var value_to_search = $('#'+search_input_id).val(); |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | for (x=0; x< all_teams_info.length; x++){ | ||
+ | |||
+ | if( all_teams_info[x].[object_variable] == value_to_search ){ | ||
+ | console.log("Found instance of: "+value_to_search+" --- "+all_teams_info[x].[object_variable]); | ||
+ | } | ||
+ | |||
+ | } | ||
} | } |
Revision as of 20:06, 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.