diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-03-03 12:25:39 -0500 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-03-03 12:25:39 -0500 |
commit | 257ccb19453c1d609e724a29349d390e5978b739 (patch) | |
tree | 1b4ce40e8b624ee9169e9b481cb7774c0a8cdb46 /app/assets | |
parent | d6cd8be7b4b5453e93faf11858c3e888f23a8ed9 (diff) | |
parent | 764d9c06affc962428615b53574dbd5d3db62a7d (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/ajax.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/assets/javascripts/ajax.js b/app/assets/javascripts/ajax.js new file mode 100644 index 0000000..2b2bb3e --- /dev/null +++ b/app/assets/javascripts/ajax.js @@ -0,0 +1,14 @@ +function populate() { + //populate optionArray + //make a form element + var e = document.getElementById("tournament_id"); + var gameType = e.options[e.selectedIndex].text; + if (gameType != "") { + //populate optionArray + + for(var option in optionArray){ + //identify the number of + ; + } + }; +}
\ No newline at end of file |