function changepwd(){
        window.open('view/changepwd.jsp','_self');
后面的参数代表什么('_self')3Q

解决方案 »

  1.   

    _self表示“相同窗口”。点击链接后,地址栏不变。在网页中没有做<base>设置时,网页链接默认的窗口为_self。
      

  2.   

    相当于<A HREF="http://www.csdn.net/" TARGET="_top">中的target属性吧
    target的值有下面几个:
    _blank renders the link in a new, unnamed window 
    _self renders the link in the current frame (useful for overriding a BASE TARGET) 
    _parent renders the link in the immediate FRAMESET parent 
    _top renders the link in the full, unframed window