web前端兼容性問題總結

1. HTML對象獲取問題 FireFox:document.getElementById("idName"); ie:document.idname或者document.getElementById("idName"). 解決辦法:統一使用document.getElementById("idName");css 2. const問題 說明:Firefox下,可使用const關鍵字或var關鍵字
相關文章
相關標籤/搜索