Skip to content

Instantly share code, notes, and snippets.

@jaseflow
Created July 30, 2013 03:20
Show Gist options
  • Select an option

  • Save jaseflow/6109952 to your computer and use it in GitHub Desktop.

Select an option

Save jaseflow/6109952 to your computer and use it in GitHub Desktop.
// Clicking a selection in the package overview
$('.pkg-selection').fastClick(function() {
$('body').addClass('inner-page');
// Load appropriate option list
var content = $(this).attr('id');
$('#options').load('/components/packagesOptions/' + content + '.html', function() {
//Shit that happens afterwards
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment