-
-
Save brobertsaz/3730070 to your computer and use it in GitHub Desktop.
js_3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var share_across_options = #{@share_across_dates}; | |
var share_down_options = #{@share_down_dates}; | |
var optionsFromArray = function(array){ | |
var options = ''; | |
$(array).each(function(index, item){ | |
options += '<option value="' + item[1] + '">' + item[0] + '</option>' | |
}); | |
return options; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment