[英]Web app not working on IPad but works on desktop browser
I am creating a web application that runs on an ipad using JQuery, CSS and HTML, when i test my application on a web browser everything works perfectly, but when i access the web app through the ipads browser all the windows look the same but none of the functionality is there. 我正在创建一个使用JQuery,CSS和HTML在ipad上运行的Web应用程序,当我在Web浏览器上测试我的应用程序时,一切运行正常,但是当我通过ipads浏览器访问该Web应用程序时,所有窗口看起来都一样,但是没有功能在那里。 I have no idea why because i have all the .js files imported into the .html files and all the functionality works on the safari and fire on the desktop.... It is as if the web app on the ipad is ignoring all my .js files! 我不知道为什么,因为我已将所有.js文件导入到.html文件中,并且所有功能都可以在safari上运行并在桌面上启动。...好像ipad上的网络应用正在忽略我所有的内容.js文件!
here is a picture of my files and i can add code if anybody wants it 这是我的文件的图片,如果有人需要,我可以添加代码
Does anyone have any ideas why the functionality would not be working on the ipad? 有谁知道为什么该功能无法在ipad上使用?
You can try to launch the web application on a Webkit browser which is what is used in iPad and try to figure out what the issue is. 您可以尝试在iPad上使用的Webkit浏览器上启动Web应用程序,并尝试找出问题所在。 Webkit browsers include Safari and Google Chrome. Webkit浏览器包括Safari和Google Chrome。 Using these launch the Web Inspector and see if there are any errors loading javascript files by going to Network Tab. 使用这些启动Web Inspector,并转到“网络”选项卡,查看加载javascript文件是否有任何错误。
You can use the remote debuging feature with the ipad and safari. 您可以将远程调试功能与ipad和safari一起使用。 Warning this only works on IOS 6 http://moduscreate.com/enable-remote-web-inspector-in-ios-6/ 警告这仅适用于IOS 6 http://moduscreate.com/enable-remote-web-inspector-in-ios-6/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.