Skip to content

Instantly share code, notes, and snippets.

@apipkin
Created August 9, 2010 22:13
Show Gist options
  • Save apipkin/516226 to your computer and use it in GitHub Desktop.
Save apipkin/516226 to your computer and use it in GitHub Desktop.
var groupControl = {
tdata : "",
getGroupTable : function(termid) {
result = Y.io(url, {
method: "post",
data: 'term=' + termid,
on : {
complete : function(id, o, arg) {
groupControl.tdata = Y.JSON.parse(o.responseText);
GroupSelect.set('rows', groupControl.tdata).syncUI();
}
}
});
}
};
groupControl.getGroupTable(termid);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment