2895 次
		
3 回答
            3        
        
		
您的网页中有以下 jquery 代码,可防止单击加载新页面。
               $('#nav .thumb a').click(function(){
                       $('#changeImg').fadeTo(0.5,700);
                       $('#changeImg').attr('src',$(this).attr('href'));
                       return false;
               });
于 2012-06-22T08:21:47.140   回答
    
    
            0        
        
		
我发现这是我的应用程序的一个 js 文件中的问题:
$('section [href^=#]').click(function (e) {
      e.preventDefault()
    })
于 2013-08-17T09:03:36.900   回答
    
    
            0        
        
		
使用这个简单的代码(适用于谷歌浏览器,移动视图)
<a href="http://google.com/" onclick="location.replace('http://google.com/'),'_top'">Google</a>
于 2016-11-15T04:42:04.750   回答