也许问题不是那么简单? [英] Perhaps the question was not so simple?

查看:71
本文介绍了也许问题不是那么简单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我先前问过,但没有得到回复,以下内容:


有人可以请告诉我如何''结婚''这两件

脚本(A)将选择框中选择的所需URL从选择框发布到弹出窗口(B)中。或者我是否会错误地使用

方式?


(A)

< form name =" form" >

< select name =" links">

< option value ="#"选择>查看选项

< option value =" ../ page1.htm"> Page 1

< option value =" ../ page2。 htm"> Page 2

< / select>& nbsp;& nbsp; < input type =" button"命名= QUOT;去" value =" Go!"

onClick =" window.location = document.form.links.optio ns [document.form.links.selectedIndex] .value">

< / form>


(B)

onClick =" window.open(''toolbar = no,width = 300, height = 270,left = 10,top = 10,

status = no,scrollbars = no,resize = no''); return false">

I asked previously, but elicited no reply, the following:

Could someone please tell me how to ''marry'' these two pieces
of script so that script(A)posts the desired url selected from
the select box into a popup (B). Or am I going about it the wrong
way?

(A)
<form name="form">
<select name="links">
<option value="#" selected>View Options
<option value="../page1.htm">Page 1
<option value="../page2.htm">Page 2
</select>&nbsp;&nbsp; <input type="button" name="go" value="Go!"
onClick="window.location=document.form.links.optio ns[document.form.links.selectedIndex].value">
</form>

(B)
onClick="window.open(''toolbar=no,width=300,height= 270,left=10,top=10,
status=no,scrollbars=no, resize=no'');return false">

推荐答案

Dick Rosser写道:
Dick Rosser wrote:
我先前问过,但没有得到回复
I asked previously, but elicited no reply




....整整6个小时后!


不,不是整整6个小时,只有几分钟。


-

David Dorward http://dorward.me.uk/




" David Dorward"写了

"David Dorward" wrote
Dick Rosser写道:
Dick Rosser wrote:
我先前问过,但没有得到回复
I asked previously, but elicited no reply



...整整6个小时!

不是,整整6个小时,不到几分钟。



... after a whole 6 hours!

Nope, not a whole 6 hours, a few minutes short.




羞耻,我希望其中一个更多

的有用成员这个NG会做出回应。也许,而不是在火焰上浪费带宽(因为我现在似乎是在做b / b
),你应​​该把秒表关掉然后去

趋势你的网站!



Shame, I was hoping one of the more useful members of
this NG would have responded. Perhaps, rather than
wasting bandwidth on flame (as I now appear to be
doing) you should turn your stopwatch off and go
tend your website!


2003年11月29日星期六03:16:12 -0000

" Dick Rosser" < SP ************* @ aol.com>写道:

< snip>
On Sat, 29 Nov 2003 03:16:12 -0000
"Dick Rosser" <sp*************@aol.com> wrote:
<snip>
羞耻,我希望这个NG的一个更有用的成员会回应。也许,而不是在火焰上浪费带宽(我现在似乎正在做),你应该关掉你的秒表然后去看看你的网站吧!
Shame, I was hoping one of the more useful members of
this NG would have responded. Perhaps, rather than
wasting bandwidth on flame (as I now appear to be
doing) you should turn your stopwatch off and go
tend your website!




这是一个假期周末。如果你想要免费帮助,我恐怕你将不得不等待。


-

然后那里是那个穿过溪流淹死的人,平均深度为6英寸。

- WIE盖茨



It''s a holiday weekend. If you want free help I''m afraid you''ll have to
wait.

--
Then there was the man who drowned crossing a stream with an average
depth of six inches.
-- W. I. E. Gates


这篇关于也许问题不是那么简单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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