Javascript debug in Mandarin: Difference between revisions

Jump to navigation Jump to search
(Created page with "Javascript 程式碼偵錯 {{LanguageSwitcher | content = English, 漢字 }} == 疑難排解步驟 == * 是否已包含所需的 JavaScript 檔案? * 函式是否與不同的 JavaScript 函式庫發生衝突?例如:[https://stackoverflow.com/questions/41961708/uncaught-typeerror-tooltip-is-not-a-function JavaScript - Uncaught TypeError: $(...).tooltip is not a function - Stack Overflow] * 使用 [https:/...")
 
Tags: Mobile edit Mobile web edit
 
Line 7: Line 7:


* 函式是否與不同的 JavaScript 函式庫發生衝突?例如:[https://stackoverflow.com/questions/41961708/uncaught-typeerror-tooltip-is-not-a-function JavaScript - Uncaught TypeError: $(...).tooltip is not a function - Stack Overflow]
* 函式是否與不同的 JavaScript 函式庫發生衝突?例如:[https://stackoverflow.com/questions/41961708/uncaught-typeerror-tooltip-is-not-a-function JavaScript - Uncaught TypeError: $(...).tooltip is not a function - Stack Overflow]
* 檢查 JavaScript 框架在不同版本之間的語法相容性問題,例如 Bootstrap 3 和 Bootstrap 5 使用的語法並不相同


* 使用 [https://www.jslint.com/ JSLint] 或本文下方其他偵錯工具,檢查拼寫等錯誤、或編譯類型錯誤。
* 使用 [https://www.jslint.com/ JSLint] 或本文下方其他偵錯工具,檢查拼寫等錯誤、或編譯類型錯誤。

Navigation menu