Viewing 1 replies (of 1 total)
  • Plugin Author PickPlugins

    (@pickplugins)

    Thanks for your post,

    you are doing it wrong, you can’t use external jquery.js, please use WordPress provided jQuery by using

    
    wp_enqueue_script('jquery');
    

    you can write your jquery code like this

    
    jQuery(document).ready(function($) {
    
    // replace jQuery by $
     $(document).on('click', '.element-class', function(){
    
    // write your code here.
    
     })
    
    })
    
    
    • This reply was modified 5 years, 10 months ago by PickPlugins.
Viewing 1 replies (of 1 total)

The topic ‘jquery error’ is closed to new replies.