Few jQuery Examples

A few jQuery sample are showing below that is really useful. Anyone can use or share. This is great to add more and more.

<script type="text/javascript">
		jQuery(document).ready(function(){
					jQuery('#mobile_catelog_switcher').click(function (e) {
						e.preventDefault();
						jQuery( "#display_mobile_catelog_item" ).slideToggle( "slow");
						jQuery( this ).toggleClass( "open" );
					});

					jQuery('#custom-dropdown-trigger').click(function (e) {
						e.preventDefault();
						jQuery( "#ci-mobile-navigation" ).slideToggle( "slow");
						jQuery( this ).toggleClass( "open" );
					});


		});
</script>