0

我正在努力调试一个问题,因为我想不出为什么会发生这种情况。是否有任何理由为什么以下内容在 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
4

0 回答 0