Skip to content

Instantly share code, notes, and snippets.

@brobertsaz
Created September 15, 2012 22:07
Show Gist options
  • Save brobertsaz/3730040 to your computer and use it in GitHub Desktop.
Save brobertsaz/3730040 to your computer and use it in GitHub Desktop.
js_2
var populateSubOptions = function(selectedOption) {
if (selectedOption == 'share_across') {
$('#share_exp_dates select').empty().append(optionsFromArray(share_across_options));
} else {
$('#share_exp_dates select').empty().append(optionsFromArray(share_down_options));
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment