关注,我想把两个页面关联起来,一个主页面,一个弹出的选择窗口,选一个值,点确定时
如何自动跳到主页面的from里面那个text的书写条显示出来。

解决方案 »

  1.   

    这个问题你能不能再描述清楚一些。不知道下面的代码能不能解决你的问题/
    <script>
    parent[1].location="http://www.eyou.com"
    </script>
      

  2.   

    关注,我想把两个页面关联起来,一个主页面,一个弹出的选择窗口,选一个值,点确定时
    如何自动跳到主页面的from里面那个text的书写条显示出来。<script language="vbscript">
    b=msgbox "choose",vbyesno,"choose"
    if b=yes then
    page2.form1.text的name.focus()
    else 
    ............
    end if 
    parent[1].location="http://www.eyou.com"
    </script>
      

  3.   

    如果是PHP的话,应该是
    if($value){
    header("Location: http://www.sina.com.cn");
    exit;
    }
    else{
    header("Location: test.pl");
    exit;
    }