我正在努力调试一个问题,因为我无法想出为什么会发生这种情况的任何理由。是否有任何理由说明以下内容在iOS中无法正常工作,但在其他所有浏览器中都没有问题?
alert($('#id')[0].3rdPartyLibrary.someFunction);
//successfully alerts the code within someFunction
$('#id')[0].3rdPartyLibrary.someFunction();
//is called in all browsers but not in iOS also stops execution of anything below
alert('not hit in iOS');
//but is fine in all other browsers