While this syntax works on all other browser, safari on windows throws an error
$("#kibana").contents().find('.navbar-nav')[0].remove();
The error is
TypeError: 'undefined' is not a function
The element does exist. I checked using the debugger.
Why is this happening?
. So I am trying to remove the first one via this code.
– Denzz Jun 13 '15 at 00:18