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(); });
Becomes
jquery(window).load(function() { callFunction(); });
You can also set your own short code for use with jquery such as: var $_shortcode = jQuery;
Looking for Expert WordPress or Drupal development?
I am a freelance website developer and designer based in the UK. I work as a remote Drupal developer, WordPress developer and Front-end developer for a variety of startups, charities and international businesses in Bristol, Bath, London and Europe. You can learn more about me by visiting my resume page.
Get in touch for a free quote on your next project and if you want to connect me with then check out my LinkedIn profile.