English 中文(简体)
B. 另一窗口的附带活动
原标题:Bind event on another window

I m在图像浏览器/上载功能上工作,Im 则使用PHP图像编辑,帮助我允许用户在自己被上下台后编辑图像。 图像并不储存在网络服务器上,而是放在单独的档案服务器上。 因此,我所做的是:当从图像浏览器网页上挑选图像以供编辑时,我从文件夹中下载图像,然后下载到网络服务器的温文档中,在新的播种窗口中将这一剪辑寄给PHP图像编辑,以便编辑,然后,I muck

当“Save and 近,但又在新的儿童流行窗口中点击“Save and 近,这节省了图像上的所有变化,而当时我需要将图像重上载回档案服务器。 I m 寻求一种方式,将“Save and Middle, 纽托在我的新的PHP中 影像编辑从母窗户JS中登出的窗户窗户,这将让我知道何时把时间文件上载回档案服务器。

是否有可能对其父母的新播种窗口事件进行约束?

i.e.: JS in Parent window

$( a.edit ).click(function(event) {
    var $newWindow = window.open(myHREF); // <-- Child Window
    $newWindow.focus();
    return false;
});

当儿童窗口完成负荷工作时,它将持有我的phpimageeditor/指数的内容。 php文档和OMD是“太阳和近距离”纽顿(<>条码>。

我能否在我的母窗户中将“数据表”(#btnsave)中的“标准”作为目标,因为它创造了新的人口。

问题回答

是的,只是在你的舱位选择人中添加以下内容:

$( #btnsave ,newWindow).bind( whatever ,function(){//stuff});




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签