Is it possible to use Javascript to emulate the Add to Home Screen option in Mobile Safari's bookmark menu?  Something similar to IE's window.external.AddFavorite(location.href, document.title); possibly?...
I'm using this function to copy a URL to the clipboard:  function CopyUrl($this){    var querySelector = $this.next().attr("id");   var emailLink = document.querySelector("#"+querySelector);    var range = document.createRange()...
I'm using this HTML code:  <form action="#" method="post">     <fieldset>         <label class="desc" id="title10" for="Field10">             How many children do you have?         </...
This is a hard one to articulate and I am new to mobile web development so please bear with me:  On my webpage, I have 3 Nested dropdown lists (Area, Town, Street).  Nested as in, each dropdown's items are modified when the selection in the dro...
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 implemented a form which needs to disable certain options in a select box using Javascript. It works fine in all browsers but not in Safari on IOS (Desktop Safari does it right).  I've been looking around the web but it seems nobody had...
How can I reliably detect using javascript that a page is loaded inside a WKWebView? I'd like to be able to detect these scenarios:   iOS & WKWebView iOS & Safari not iOS   There is a similar question about UIWebView here. But it's qu...
I was tracking down some ridiculously high load times that my app's javascript reported, and found that Android (and iOS) pause some JavaScript execution when the window is in the background or the display is off.   On Android, I found that I cou...
Does anyone know any workarounds for this? I'm trying to use a select element for navigation. It looks something like this;  <select onchange="window.location=(this.options[this.selectedIndex].value)">   It works on all desktop brow...
is there a script to detect, if the visitor use iphone (whatever it's browser, may iphone Safari, iPhone for Opera or etc.)?  Then will shutdown some some of my JavaScript.  Thanks......

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.