Onclick不起作用,即7或Facebook应用程序中的某些Firefox
Onclick not work ie 7 or some Firefox in Facebook App
<a href="javascript:;" onclick="login(); return false;"><img src="images/ie.jpg"/></a>
我的链接不是触发登录((; 函数。在ie7或某些火狐上不起作用链接。
function login(){
FB.login(function(response){
if(response.authResponse){
FB.api('/me',function(response){
window.location.href ="anasayfa.php?fname="+ response.name+"&email="+response.email+"&username="+response.username+"&gender="+response.gender+"&city="+response.hometown.name+"&location="+response.location.name+"&birthday="+response.birthday+"&id="+response.id+"&rStatus="+response.relationship_status;
});
我在我的Facebook应用程序上使用这些代码。许多用户清楚地使用应用程序。但有些用户不使用该应用程序。我在IE测试器上进行了测试,我看到链接在ie7上不起作用。
感谢您的帮助。
更改您的
href="javascript:;"
to
href="#"
看看这是否能纠正你在IE中的问题。IE7有时对超链接非常敏感。
相关文章:
- firefox插件:退出不工作的应用程序观察器
- 如何在服务器中为我的Firefox OS应用程序加载远程内容-在Web和FxOS设备中
- 带有RequireJS的AngularJS应用程序在Safari和Firefox中给出了“使用严格”错误
- 无法'共享'Firefox操作系统上Facebook和Twitter本地应用程序上的URL
- Node.js/Socket.io适用于除Firefox之外的所有应用程序,这可能是缓存问题
- 为什么在Firefox更新之后JQuery不能在我的MVC 4应用程序中工作
- 右键点击带有firefox的mac上的flash应用程序会触发鼠标按下
- 在Firefox OS应用程序中滚动时出现渲染问题
- 点击通知后启动Firefox OS应用程序
- HTML5:带有onmousemove的getImageData使我在Firefox中的应用程序变慢
- 应用程序缓存清单在Firefox中未加载,在Chrome和Safari中正常
- 从servlet向js应用程序发送HTML会破坏Firefox中的数据
- StarDict支持JavaScript和Firefox操作系统应用程序
- 阻止firefox应用程序的多个实例
- 如何在Firefox OS上创建一个能够从外部网页获取数据的打包应用程序
- Firefox OS应用程序中的动态内容
- 当应用程序在firefox操作系统手机中从后台启动/打开时,javascript/window事件被称为什么
- 在Firefox上卸载网络应用程序
- ExtJS MVC应用程序未在firefox上加载
- Firefox's在其他浏览器中的应用程序对象设备