Yes , It's a similar question as in here , but mine is tagged with jquery.
in short : I have this scenario :

both documents (x.B.com and y.B.com) has document.domain="B.com";
But lets say Im in y.B.com and I want to execute work()
Running parent.frames['if1'].work(2); -- is working.
But I tried doing it with jQuery : (didn't succeed)
$('#if1', parent.document).contents().work(2);$('#if1', parent.document)[0].work(2);
How can I do it ?