<input type=button value=GO title="?page=1" language=javascript onclick="location.href='index.asp'+event.srcElement.title"> 

解决方案 »

  1.   

    try,你會發現是取到值的,所以你只有看在index.asp中能否得到page=1了
    <input type=button value=GO title="?page=1" onclick=f()>
    <script language="JavaScript">
    function f()
    {
      alert('index.asp'+event.srcElement.title)
      location.href='index.asp'+event.srcElement.title
    }
    </script> 
      

  2.   

    是的,那个值是存在的,可是使用location就不正常,不管能否在index.asp中能否得到page=1,但是,至少会跳转到index.asp吧,可是没动静
      

  3.   

    直接使用location="..."
      ∧ ∧
    ( ⊙_⊙ ) 祝所有人好运!我会天天Happy的。
      

  4.   

    这段代码到了我的Win2000+IE5环境就不行了,其他的win2000+IE5测试也不行to fokker(独孤龙) :
    你的代码也无法执行。
      

  5.   

    怪事,我的也可以(win me + ie5.5)不妨加个 alert,看到底是字符串内容不对,还是后面的问题<input type=button value=GO title="?page=1" onclick="alert('index.asp'+event.srcElement.title);location.href='index.asp'+event.srcElement.title"> 
      

  6.   

    IE5.0才不行,IE5.5没问题,并且IE5.0下是可以得到那个值的,就是无法实现跳转到该页面