< href="b.htm?txt='+ txtname.value">

解决方案 »

  1.   

    如果TEXT是FORM中的话,那么设置FORM的提交方法为GET(METHOD=GET),处理页面为B.HTM(ACTION=B.HTM)就可以了!
    实际上等同于提交一个URL:
    http://www.yourdomain.com/yourpath/b.htm?textName=textValue
      

  2.   

    a.htm中有以下的内容:
    <script>
    function tootherpage(url)
    {
        location.href=url+"?text="+document.form1.textfield1.value;
    }
    </script>
    <a href="#" onclick="tootherpage("b.htm")">to page b</a>
    <form name="form1" method="post" action="">
      <input type="text" name="textfield1">
    </form>b.htm中包含以下的内容:
    <script>
    url=String(window.document.location);
    para=url.substring(url.indexOf("=")+1,url.length);
    alert(para);
    </script>
      

  3.   

    to net_lover(孟子E章)  好像不能实现,能说具体点吗?是不是格式的问题,我的第二页用的是b.php的to Estyle(靳田) 我要用的是超链接
      

  4.   

    function checkuser()
    {
        window.open("checkuser.php?text="+document.form1.text.value,"sd","left=100,top=200,width=200,height=100,resizable=0");}