English 中文(简体)
框架 html和ajax
原标题:frames html and ajax
  • 时间:2010-11-25 07:16:41
  •  标签:
  • html
  • ajax

我的网页有3个框架。 在一个框架中,我提出亚克斯要求。 现在我想更新服务器在其他方面发送的数据。 有可能

最佳回答

如果这些框架位于同一领域,请参看。 如何将职能从一个框架提升到另一个框架。 因此,一旦阿马齐格世界大会的要求在第一个框架中完成,你就可以在第二个框架中指定一个java书写功能,该功能将考虑到内容的更新。 如果框架没有在同一领域,出于安全原因不允许这样做。

问题回答

Of course this is possible. From the iframe you can access the parent windows using the parent object. so from the frame1 you can write parent.getElementById( frame2 ).contentDocument.getElementById( id of the control in frame2 )





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签