Skip to content

Tag: ios

Axios POST fails on iOS

I am trying to do a simple ajax POST from domain1 to domain2 using Axios. This is a cross domain simple POST so there is no PREFLIGHT (OPTIONS) call. The response from the application is a simple JSON string. On Chrome, on Android, Windows and iOS (excluding iPhone) this works fine. But on iPhone 6,7,8+ on bo…

getSelection not working properly in iOS 12

Functions document.getSelection() and window.getSelection() do not work in iOS 12. The problem is reproduced in Safari, Google Chrome and WKWebView. In iOS 11 and MacOS (any version), these functions are work. Can you advise? Example: Answer I don’t really know why document.getSelection() and window.get…

$(document).ready not firing on iOS

I have the following code on my page: <script src=”//path.to/jquery.min.js”></script> The above code runs well on Desktop and Android devices, but when running on iOS devices the Statement #2 doesn’t work. I’ve checked the console, and there are no errors. Just for testing,…