What are the differences between onbeforeunload and onunload ? Also I have a specific question related to it's use on the iPad...I have a page (myPage.html) where I am trying to show an alert when the page is closed (i.e. X is pressed to close...
I've run into an issue with opening a new window in safari (both ipad and desktop versions) that revolves around the popup blocker. Basically I've found that if window.open isn't called from a click event, safari will block the popup....
I have a datalist tag which allows my users to have a suggestion box. However, I've noticed that this feature is not supported in safari. Is there a workaround to this issue?  Here is my code - I'm actually populating my values with an ajax m...
I cannot get onclick="location.href='link.html'" to load a new page in Safari (5.0.4).  I am building a drop-down navigation menu using the <select> and <option> HTML tags. I am using the onclick handler to load a new page...
I'd like to generate images in a bit of asm.js code running on a web worker. And I'd like to regularly composite the latest state of that computation onto a user-visible 2d canvas, together with some other content. Currently I have code which...
My question is about iOS9 only!  I have an HTML landing page, and I try to redirect the user to my app via URL scheme if the app is installed, or redirect to the Appstore otherwise.  My code is:  document.addEventListener("DOMContentLoaded",...
How do I hide the address bar on iPhone?  I tried two different methods so far:   The scroll down one pixel trick with JavaScript on page load And the following meta tags:  <meta name="viewport" content="width=device-width; initial-sca...
I have a piece of JavaScript that dynamically creates an A tag inside of an existing div and then calls the jQuery function "click" on it. This works as intended in all browsers except Safari.  Safari returns the following error:      'un...
When doing new WebSocket('ws://server/'); Safari connects fine, but when using new WebSocket('wss://server/'); it completely fails (returns a null object). Worse, it fails silently - no errors in traceback (a custom Eventlet web serve...
I have applied an if/else statement, (within a larger function), that does not seem to process at all in the Safari browser. The .addClass() and .removeClass() actions do not even apply when prompted.  This is a brief example of the if/else statement...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.