我试了 怎么就可以传值的?
你看看<%=answer1%>
<%=answer2%>
的输出是什么?
会不会本身就是空的啊,或者有什么&符号?

解决方案 »

  1.   

    dsyd2.asp?text1=<%=answer1%>&text2=<%=answer2%>";
    先看看你地址栏上显示的有值没
      

  2.   

    代码是对的,<%
    if answer1="" then
    answer1=88
    else
    answer1=request("text1")
    end ifresponse.write answer1
    %><script language="javascript">
    disp()
    function show()
     {
      window.location="dsyd2.asp?text1=<%=answer1%>&text2=<%=answer2%>";
     }
     function disp()
     {
      clock=setTimeout("show()",1200);
     }
    </script>
      

  3.   

    你的answer1和answer2是不是空的啊
      

  4.   

    先是这样:
    <script Language="JavaScript">
    <!--Hide these  preventing old browser to show 
     function show()
     {
      window.location="dsyd.asp?";
     }
     function disp()
     {
      clock=setTimeout("show()",10000);
     }
    //hiding ended-->
    </script>
    .
    .
    .
    .
    .
    .
    <input type="radio" value="A" name="text1" >A. a Dutch explorer
    <input type="radio" value="B" name="text1">B. a British colonist
    到了dsyd.asp为什么用request("text1")得不到值.
      

  5.   

    我分析你这里可能是location的值中带有空格了,后面的被截断了
    但有时候就算什么问题也没有,也可能出这种问题,我也没搞清是什么原因
    但可以用别的方式做啊,将要传的值放到隐含字段中,然后提交表单
      

  6.   

    request("text1")
    换成
    request.querystring("text1")