Skip to content

Instantly share code, notes, and snippets.

Created February 1, 2013 16:43
Show Gist options
  • Select an option

  • Save anonymous/4692487 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/4692487 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('#show_hidden_categories').click(function() {
//jQuery('#event-categories').css('overflow-y', 'scroll');
jQuery('.hidden_category').show('medium');
jQuery('#show_hidden_categories').hide();
return false;
});
//Code to select desired default hour
jQuery('select[name="EventStartHour"]').val('23');
jQuery('select[name="EventEndHour"]').val('06');
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment