您可以将点击附加到iframe内容:
$('iframe').load(function(){ $(this).contents().find("body").on('click', function(event) { alert('test'); });});注意:这仅在两个页面位于同一域中时才有效。

您可以将点击附加到iframe内容:
$('iframe').load(function(){ $(this).contents().find("body").on('click', function(event) { alert('test'); });});注意:这仅在两个页面位于同一域中时才有效。