Written by: Aleš Sýkora

The Author of Toolset.wiki. Big fan of Toolset plugins and WordPress.

I am big fan of WordPress and Toolset plugins. I have done many projects based on WordPress. I also have experience with online marketing, PPC advertising and SEO. I live in Czech Budweis – the town of Budweiser Budvar breverage in the south of the Czech Republic – the heart of Europe.

I love skateboarding, snowboarding, frisbee, fitness, healthy lifestyle, tattoos, mountain biking and other sports. I enjoy having time with friends with good beer and good music.

Best practise for jQuery in Toolset

Last Update: 10. 11. 2019 , Category:

Let me explain best practices for using jQuery inside a View, Form or Content Template’s JS panel.

  1. Always wrap your jQuery code in a document ready handler,
  2. Always use “jQuery” instead of “$” unless you know what you’re doing.

Example:

jQuery(document).ready(function(){
  // add your code here using "jQuery" instead of "$"
});

Support Us via our Affiliate link!

Toolset logo WordPress

What to do next?

Need a Toolset License?

Buy via affiliate link!

Looking for a tutorial?


Help other users – Add your snippet!


Join the discussion!