我选择第一个select时就会出现
解决方案 »
- [求助]有没有在一个页面上同时删除多个页面的相同内容的代码呢?
- js获取当前月份
- JavaScript 中的 return 和 break 都不能强制退出程序么?
- 怎么用clientHeight取出正常的值
- 问一个function的问题
- 奇怪的 JS 脚本 ,后台代码事件 调用和前台的 奇怪现象?? 求助高人
- 如何关闭对话框
- 谁有Web Calendar Ver3.0的js文件吗?给一份,感激!!!!
- 来者有分!<iframe>与父页面的背景协调问题!请大家帮忙看看!
- 试试难不难??HELP
- window.open弹出子窗口后,怎样控制子窗口的样式(如:地址栏状态栏去掉)高手进
- 很是困惑,关于table里对象的引用~~~
http://www.aironline.com.cn/agentfare/ 这个地址我用了好多台电脑测都是有问题的,只要选择了。
上面那些代码独立测试是正常的,但一放到主页中就会出现问题,我主页中还有其它的javascript代码,不知道是不是有冲突!
<script language = 'JavaScript'>
strCountry = window.parent.document.FrmThreeCode.Country
strCountry.innerHTML = ''
strCountry.options[0] = new Option("---请选择---","0")
strCountry.options[strCountry.length] = new Option('澳大利亚','3')
strCountry.options[strCountry.length] = new Option('丹麦','5')
strCountry.options[strCountry.length] = new Option('德国','4')
strCountry.options[strCountry.length] = new Option('法国','6')
strCountry.options[strCountry.length] = new Option('韩国','10')
strCountry.options[strCountry.length] = new Option('美国','1')
strCountry.options[strCountry.length] = new Option('日本','8')
strCountry.options[strCountry.length] = new Option('泰国','11')
strCountry.options[strCountry.length] = new Option('希腊','7')
strCountry.options[strCountry.length] = new Option('中国','2')
strProvince = window.parent.document.FrmThreeCode.Province
strProvince.innerHTML = ''
strProvince.options[0] = new Option("---请选择---","0")
strCity = window.parent.document.FrmThreeCode.City
strCity.innerHTML = ''
strCity.options[0] = new Option("---请选择---","0")
</script> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="136" colspan="4"><table width="100%" height="95%" border="1" cellpadding="1" cellspacing="1" bordercolor="#99CCFF" bgcolor="#ECF7FF">
<tr>
<td bordercolor="#99CCFF" valign="top"> 航班时刻查询:
<form name="FrmScheduledFlight" method="post" onsubmit="return CheckForm(this)">
</form>
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="136" colspan="4"><table width="100%" height="95%" border="1" cellpadding="1" cellspacing="1" bordercolor="#99CCFF" bgcolor="#ECF7FF">
<tr>
<td bordercolor="#99CCFF" valign="top"> 机场信息查询:<br>
<form name="FrmAirdrome" method="post" onsubmit="return CheckForm(this)">
</form>
</td>
</tr>
</table></td>
</tr>
<tr><td colspan=5><iframe src=../refurbish.asp width=0 height=0 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=auto></iframe></td></tr>
<tr>
<td height="50" colspan="5" background="image/bottom.jpg" align="center"><font color="#FFFFFF">CopyRight 2005-2006 <a href="http://www.aironline.com.cn"><font color="#FFFFFF">广州美亚商旅航空服务有限公司</font></a> All Rights Reserved </font></td>
</tr>
</table>
</td></tr>
</table>
<script language="javascript">MM_timelinePlay('Timeline1');
中最后的那行MM_timelinePlay('Timeline1');方法没有定义~我没有仔细看~应该是parent.MM_timelinePlay('Timeline1');吧?你再试试
我把它移到最前面就没有问题了,不知道是什么原因!!非常感谢大家热心的回答!!谢谢!!