Skip to content

Instantly share code, notes, and snippets.

@calas
Created May 1, 2009 19:49
Show Gist options
  • Save calas/105216 to your computer and use it in GitHub Desktop.
Save calas/105216 to your computer and use it in GitHub Desktop.
var actualizarConductores = function(element) {
$$('select.conductor').each(function(s) {
actualizarSelect(s, element.value, 'Seleccione un conductor', conductores);
});
};
var filtrarConductores = Behavior.create({
initialize : function() {actualizarConductores(this.element);},
onchange : function() {actualizarConductores(this.element);}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment