功能在 windows 的 safari 中不起作用
Function doesn't work in safari on windows
虽然此语法适用于所有其他浏览器,但 windows 上的 Safari 会抛出错误
$("#kibana").contents().find('.navbar-nav')[0].remove();
错误是
TypeError: 'undefined' is not a function
该元素确实存在。我使用调试器进行了检查。
为什么会这样?
虽然此语法适用于所有其他浏览器,但 windows 上的 Safari 会抛出错误
$("#kibana").contents().find('.navbar-nav')[0].remove();
错误是
TypeError: 'undefined' is not a function
该元素确实存在。我使用调试器进行了检查。
为什么会这样?