Login

jQuery problem: juncaught typeerror: $ is not a function

Author:neo yang Time:2023/06/27 Read: 8404

js problems are all asynchronous problems.

WordPress also loads various js in a certain order. WordPress basically loads its own js first, and then loads its own defined js.

$(function(){})

In this way, if you encounter the following problems

uncaught typeerror: $ is not a function

You can change the way of writing

jQuery(function($){})

tags:


copyright © www.lyustu.com all rights reserved.
Theme: TheMoon V3.0. Author:neo yang