Parent Window < 相关标签:
I have successfully used the following format where other options didn't work.
if ($("#maip", window.parent.document).length > 0){ $("#mainp", window.parent.document).click();
window.parent.$('#mainp').trigger('click');
or
window.parent.$('#mainp').click();