• Resolved mietzi

    (@mietzi)


    Hey guys,
    I have troubles with jQuery. For my start page I have some jQuery-code. When I preview the size within the Customizr everything looks good. When I look at the homepage, the console gives me the error that $ is not a function. jQuery couldn’t be loaded.
    I already tried to update jQuery, but then it looks good on the homepage but fails in the Customizr (only showing the spinning wheel).

    Can somebody give me a hint?

    Cheers,
    mietzi

    The page I need help with: [log in to see the link]

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

    (@wraithkenny)

    jQuery, loaded by WordPress, isn’t loaded with the $ variable available. Use a wrapper like,
    jQuery(function($){
    // Your code here, executed on page ready
    $(‘body’); // Works.
    });

Viewing 1 replies (of 1 total)
  • The topic ‘jQuery doesn’t load’ is closed to new replies.