Custom jQuery Short Code

If the jQuery dollar symbol short code is unavailable because you have assigned it to a different variable or you have used jQuery.noConflict(); to resolve potential conflicts between jQuery and Prototype then simply use the string jquery to access jQuery commands. I.e.

$(window).load(function() { callFunction(); });


jquery(window).load(function() { callFunction(); });

You can also set your own short code for use with jquery such as: var $_shortcode = jQuery;