我选择第一个select时就会出现

解决方案 »

  1.   

    http://www.aironline.com.cn/agentfare/帮我看一下!!
      

  2.   

    上面的地址已测试,正常(IE6SP1),应该是你自己浏览器的问题
      

  3.   

    对不起,CheckForm这个函数没定义我在正常的页面中是没有用的
    http://www.aironline.com.cn/agentfare/ 这个地址我用了好多台电脑测都是有问题的,只要选择了。
    上面那些代码独立测试是正常的,但一放到主页中就会出现问题,我主页中还有其它的javascript代码,不知道是不是有冲突!
      

  4.   

    我看了你的网站~报错的原因是你window.frames['hiddenFrame'].location.href = "index.asp?n="+SelectNumber+"&Languages=" + strLanguage.options[strLanguage.selectedIndex].value+"&CountryID="+strCountry.options[strCountry.selectedIndex].value+"&ProvinceID="+strProvince.options[strProvince.selectedIndex].value;返回的页面的源码:
    <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">&nbsp;航班时刻查询:
                 <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">&nbsp;机场信息查询:<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');吧?你再试试
      

  5.   

    问题真得是出在这个上:<script language="javascript">MM_timelinePlay('Timeline1');</script>
    我把它移到最前面就没有问题了,不知道是什么原因!!非常感谢大家热心的回答!!谢谢!!