TypeError: $(…). is not a function

前端 未结 4 1769
旧时难觅i
旧时难觅i 2021-01-13 10:05

I\'m trying to track down an error TypeError: $(...).clientSideCaptcha is not a function at RegisterCapcha (http://localhost:4382/xxx/index.html:98:31)

4条回答
  •  被撕碎了的回忆
    2021-01-13 10:11

    After loading jQuery

        
    if (typeof $ == 'undefined') {
       var $ = jQuery;
    }
    

    Reference:

    https://v123.tw/fix-jquery-typeerror-not-function/

提交回复
热议问题