Line 49: | Line 49: | ||
<div class="column full_size"> | <div class="column full_size"> | ||
− | <h1 | + | <h1>Search and filter tool </h1> |
</div> | </div> | ||
Line 109: | Line 109: | ||
<div class="filter_category filter_button"> | <div class="filter_category filter_button"> | ||
<div class="button button_disabled" id="go_search_filter"> | <div class="button button_disabled" id="go_search_filter"> | ||
− | <a href=" | + | <a href=""> |
SEARCH | SEARCH | ||
</a> | </a> | ||
Line 131: | Line 131: | ||
<div class="column full_size"> | <div class="column full_size"> | ||
− | <h1 | + | <h1>All teams </h1> |
</div> | </div> | ||
<div class="clear"></div> | <div class="clear"></div> | ||
Line 240: | Line 240: | ||
} | } | ||
− | |||
− | |||
//if a search is requested | //if a search is requested | ||
− | $(' | + | $('#filter_results').click(function() { |
− | search_request( | + | |
+ | search_request(all_teams_info); | ||
+ | |||
}); | }); | ||
Line 279: | Line 279: | ||
} | } | ||
+ | console.log("done appending all the teams and countries "); | ||
+ | |||
+ | enable_search_button(); | ||
} | } | ||
− | function search_request( | + | function search_request(all_teams_info){ |
//get the value to search | //get the value to search | ||
Line 306: | Line 309: | ||
} | } | ||
− | + | function enable_search_button(){ | |
+ | |||
+ | $("#go_search_filter").removeClass("button_disabled"); | ||
+ | console.log("The search button is now enabled"); | ||
+ | } | ||
Revision as of 15:06, 5 September 2019
Information on all teams
This page contains information and links to all the 2019 teams. If you would like to search for a specific team or filter by categories you can do so by using the search tool below.