将表单发布到新窗口 [英] Posting form into a new window

查看:92
本文介绍了将表单发布到新窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将表单发布到一个新窗口中,我控制其大小和

新窗口的其他属性?


另外。是否有任何影响,可能是由于浏览器的安全性如果我试图在
,可能会导致问题?
(Interne Explorer?) href =http://www.mydomain.comtarget =_ blank> www.mydomain.com
www.anotherdomain.com?

解决方案



Eli写道:

如何将表格发布到一个新窗口,我控制新窗口的大小和其他属性?

另外。是否有任何影响,可能是由于浏览器安全性(Interne Explorer?),如果我尝试在 www.mydomain.com www.anotherdomain.com?




不确定你的意思,但我已经在弹出窗口中填写了表格a很多..去这里

然后点击底部,上面写着表格:

http://www.francesdelrio.com/hbl/


周六,2004年9月25日18:30:21 - 0400,Frances Del Rio< fd *** @ yahoo.com>

写道:

Eli写道:

如何将表单发布到新窗口中,我可以控制新窗口的大小和其他属性?

此外。是否有任何影响,可能是由于浏览器安全性(Interne Explorer?),如果我尝试在 www.mydomain.com www.anotherdomain.com?



不确定你的意思,但我已经在弹出窗口中做了很多表格.​​.去在这里
然后点击它底部的表格:

http://www.francesdelrio.com/hbl/



不,那不是我的意思。


我希望从显示在网页上的表单(它是访客

民意调查)发布到将在新打开的窗口中显示的action =页面。 br />
在< form>中仅使用target =标签并没有让你能够控制窗口的大小和属性。


Frances Del Rio写道:


Eli写道:

如何将表格发布到我控制大小的新窗口中
其他新窗口的属性?


你没有。这是我的*浏览器,不要试图改变它的大小。

另外。是否有任何影响,可能是由于浏览器安全性(Interne Explorer?),如果我尝试在 www.mydomain.com www.anotherdomain.com?



嗯,为什么不测试呢?嗯。

不确定你的意思,但我已经在弹出窗口中做了很多表格.​​.转到这里
然后点击它底部的表格:

http://www.francesdelrio.com/hbl/




当点击表格时,我从该网址获得的信息被导航到
http://www.francesdelrio.com/hbl/#


so ,在你引用一个页面作为参考之前,也许你应该在页面上验证

并在IE之外测试它。


但是看看源代码那个页面,你应该放弃它,重新开始,

并最终(也许)以足够好的东西作为例子?


-

Randy

comp.lang.javascript常见问题 - http ://jibbering.com/faq


How can I POST a form into a new window where I control the size and
other attributes of the new window?

Also. Are there any implications, perhaps due to browser security
(Interne Explorer?) that could cause problems if I try to post a form
at www.mydomain.com to www.anotherdomain.com?

解决方案


Eli wrote:

How can I POST a form into a new window where I control the size and
other attributes of the new window?

Also. Are there any implications, perhaps due to browser security
(Interne Explorer?) that could cause problems if I try to post a form
at www.mydomain.com to www.anotherdomain.com?



not sure what you mean, but I''ve done forms in pop-ups a lot.. go here
and click at the bottom where it says "form":

http://www.francesdelrio.com/hbl/


On Sat, 25 Sep 2004 18:30:21 -0400, Frances Del Rio <fd***@yahoo.com>
wrote:

Eli wrote:

How can I POST a form into a new window where I control the size and
other attributes of the new window?

Also. Are there any implications, perhaps due to browser security
(Interne Explorer?) that could cause problems if I try to post a form
at www.mydomain.com to www.anotherdomain.com?



not sure what you mean, but I''ve done forms in pop-ups a lot.. go here
and click at the bottom where it says "form":

http://www.francesdelrio.com/hbl/


No, that''s not what I meant.

I wish to post from a form that appears on a web page (it''s a visitor
poll) to an action= page that will appear in a newly opened window.
Using only target= in the <form> tag doesn''t give you the ability to
control the window''s size and attributes.


Frances Del Rio wrote:


Eli wrote:

How can I POST a form into a new window where I control the size and
other attributes of the new window?
You don''t. It''s *my* browser, stop trying to change it''s size.
Also. Are there any implications, perhaps due to browser security
(Interne Explorer?) that could cause problems if I try to post a form
at www.mydomain.com to www.anotherdomain.com?


Ummm, why not test it? Hmmm.

not sure what you mean, but I''ve done forms in pop-ups a lot.. go here
and click at the bottom where it says "form":

http://www.francesdelrio.com/hbl/



What I get from that URL, when clicking "form", is navigated to
http://www.francesdelrio.com/hbl/#

so, before you quote a page as a reference, maybe you should validate
the page and test it in something besides IE.

But looking at the source of that page, you should ditch it, start over,
and end up (maybe) with something decent enough to use as an example?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq


这篇关于将表单发布到新窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆