window.open [英] window.open
问题描述
如果我打开一个php页面使用
... onclick = \" help = window.open('' help.php'',''帮助'',
''innerHeight = 400,innerWidth = 400,screenX = 555,屏幕Y = 250,依赖=是,bar =是'');
....
有没有办法将数据发送到调用页面(help.php)?东西
如$ _POST [....]如果我会使用HTML表单提交?
在mysql中设置cookie或存储数据并不是那么优雅的解决方案。
有人可以给我提示吗?
Lajos
< blockquote> _POST [....]如果我要使用HTML表单提交?
在mysql中设置cookie或存储数据并不是那么优雅的解决方案。
有人可以给我提示吗?
Lajos
只需在help.php之后添加一个查询字符串:
... onclick = \" help = window.open(''help.php?a = 10& b = 20& c = 4 0'',''帮助'' ,
''innerHeight = 400,innerWidth = 400,screenX = 555,屏幕Y = 250,依赖=是,bar = Ye
s'' );
...
希望它有所帮助
亨利
" ; Lajos Kuljo <ク*** @ freemail.hu> $écritdansle message de
news:o0 ****************** @ nntpserver.swip.net ... 如果我用
打开一个php页面
... onclick = \" help = window.open(''help.php'',''帮助'',
''innerHeight = 400,innerWidth = 400,screenX = 555,屏幕Y = 250,依赖=是,bar = Ye
s''); ...
有没有办法将数据发送到调用页面(help.php)?如果我要使用HTML表单提交,那么
如
_POST [....]?
在mysql中设置cookie或存储数据并不是那么优雅解决方案。
有人可以给我提示吗?
Lajos
Hi,
if I opened a php-page using
... onclick=\"help=window.open(''help.php'', ''Help'',
''innerHeight=400,innerWidth=400,screenX=555,screen Y=250,dependent=Yes,bar=Yes'');
....
is there a way to send data to the invoked page (help.php)? Something
like $_POST[....] if I would use a HTML form-submit?
Setting cookies or store data in mysql are not so very elegant solutions.
Can somebody give me hint?
Lajos
_POST[....] if I would use a HTML form-submit?
Setting cookies or store data in mysql are not so very elegant solutions.
Can somebody give me hint?
Lajos
Just add a query string after help.php:
... onclick=\"help=window.open(''help.php?a=10&b=20&c=4 0'', ''Help'',
''innerHeight=400,innerWidth=400,screenX=555,screen Y=250,dependent=Yes,bar=Ye
s'');
...
Hope it helps
Henri
"Lajos Kuljo" <ku***@freemail.hu> a écrit dans le message de
news:o0******************@nntpserver.swip.net...Hi,
if I opened a php-page using
... onclick=\"help=window.open(''help.php'', ''Help'',
''innerHeight=400,innerWidth=400,screenX=555,screen Y=250,dependent=Yes,bar=Ye
s''); ...
is there a way to send data to the invoked page (help.php)? Something
like
_POST[....] if I would use a HTML form-submit?
Setting cookies or store data in mysql are not so very elegant solutions.
Can somebody give me hint?
Lajos
这篇关于window.open的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!