Skip to content

Instantly share code, notes, and snippets.

@esmooov
Created September 30, 2010 14:10
Show Gist options
  • Save esmooov/604625 to your computer and use it in GitHub Desktop.
Save esmooov/604625 to your computer and use it in GitHub Desktop.
$('.toolbarTab').click(function(){
var type;
$(this).addClass("selected");
$('.toolbarTab').not(this).removeClass("selected");
type = $(this).children('h4').html();
});
////////
When there's a state up congro.unmagnified === false and congro.mag_state !== undefined it === some state
filterer.filterTableByMulti({state_postal:congro.mag_state["0"].state_abbrev,office_id:congro.TYPES[congro.current_type].office_id});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment