Skip to content

Instantly share code, notes, and snippets.

@woollsta
Created December 1, 2015 11:06
Show Gist options
  • Save woollsta/ce2d57778115e830a645 to your computer and use it in GitHub Desktop.
Save woollsta/ce2d57778115e830a645 to your computer and use it in GitHub Desktop.
<script>
/**
* This cognosJqFix.ready block can now be used in place of the $(document).ready block
* You can create as many of these blocks as you want.
*/
cognosJqFix.ready(function($){
//This function passes in the jQuery library as the $ variable
//As long as your code stays within this block, you can safely use the $
$('.block').css('background', 'pink');
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment