Line 1,133: | Line 1,133: | ||
//place data base for the results page | //place data base for the results page | ||
− | + | var t=""; | |
for(x=0; x < data.length; x++ ){ | for(x=0; x < data.length; x++ ){ | ||
− | + | t = t + ("{'team_name':'"+data[x].team_name+"', "+ | |
"'region':'"+data[x].region+"', "+ | "'region':'"+data[x].region+"', "+ | ||
"'section':'"+data[x].section+"', "+ | "'section':'"+data[x].section+"', "+ | ||
Line 1,145: | Line 1,145: | ||
"'nomination':'"+data[x].nominations+"' "+ | "'nomination':'"+data[x].nominations+"' "+ | ||
"},"); | "},"); | ||
− | + | } | |
− | + | ||
+ | |||
+ | $("#results_page").val(t); | ||
Revision as of 15:13, 16 September 2019
Code setup page
This page will help you setup the awards and results page
- Place the awards and medals into a excel file to create the variable notation
- Place the variables indicated on the code on this page
- Place the resulting data bases into the results and all teams info pages