天天看點

解決Uncaught TypeError: Cannot read property 'fn' of undefinedUncaught TypeError: Cannot read property 'fn' of undefined

Uncaught TypeError: Cannot read property 'fn' of undefined

這個意思就是(無法讀取位定義的fn屬性)

這個錯誤的出現呢 就是你引入的檔案是在jQuery以後引入的

那麼解決的辦法呢就是把jQuery 的js 檔案放在本檔案引用的前面就ok了

筆者就是這樣解決的