Skip to content

Instantly share code, notes, and snippets.

@tcaddy
Created July 26, 2016 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tcaddy/03a59feea96114de8f1d8af41d840105 to your computer and use it in GitHub Desktop.
Save tcaddy/03a59feea96114de8f1d8af41d840105 to your computer and use it in GitHub Desktop.
var v = [],
opts = ha31lib.ge('survey').getElementsByTagName('input'),
i;
for (i=0;i<opts.length;i++) {
var opt = opts[i];
if (opt.name == 'illbe') {
if (opt.checked) {
v.push(opt.id);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment