immediate invoke jquery function code example Example: immediate invoke jquery function (function() { // Code that runs in your function })()