网站javascript没有在iphone上运行(safari) [英] Website javascript not running on iphone (safari)

查看:398
本文介绍了网站javascript没有在iphone上运行(safari)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有特定的代码块在这里发布,我的网站包含了一些javascript / jquery,它在Android和现代桌面浏览器(包括Safari)上运行良好。然而,当我通过iphone查看网站时,没有任何javascript正在运行。

I do not have a specific block of code to post here, my website includes a fair bit of javascript/jquery which works great on android and modern desktop browsers (including Safari). However when I look at the site through an iphone none of the javascript is running.

网站是www.alexchapman.co.uk,我已经检查过js已启用iPhone和我没有在手机上收到任何错误消息。该网站有点慢,所以我通过Wi-Fi连接连接到iphone上的网站。

Site is www.alexchapman.co.uk, I have checked that js is enabled on the iphone and I am not getting any error messages on the phone. The site is a bit slow so I am connecting to the site on the iphone via a wi-fi connection.

我的问题是我在哪里开始尝试对此进行排序。我无法访问mac。有什么我可以在iphone上运行类似于firbug或开发工具试图看看这里发生了什么?
我试过电子移动模拟器,但这显示网站工作正常(虽然我意识到这不是一个合适的iPhone模拟)

My question is where do I begin trying to sort this out. I don't have access to a mac. Is there anything I can run on the iphone similar to firbug or ie dev tools to try to see what's happening here? I tried the Electronic Mobile Simulator but this shows the site working fine (although I realise this isn't a proper iphone emulation)

有没有人有类似的问题?

Has anyone had a similar issue?

推荐答案

你可能想打开调试控制台。我注意到我在页面上发现的最后一个错误是JavaScript:错误:未定义.JavaScript执行超出超时。

You might want to turn on the Debug Console. I note the last error I find on your page is "JavaScript: Error: undefined. JavaScript execution exceeded timeout".

这篇关于网站javascript没有在iphone上运行(safari)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆