-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey, i was wondering how to set the focus to a textbox in mobile safari.
I've tried document.myForm.myTextArea.focus(); which works in regular safari, but it does not seem to work in mobile safari.
To clarify, i want to set focus to a text box as soon as the user loads a page, and have the iphone…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using the defualt jquery autocomplete plugin in my iphone web app, it builds a div with li's. In the browser the hovers and click events work for this but in mobile safari if I click it highlights the entire results containing div. Do I need to create seperate event listeners for the iphone? How…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've got a form in a web page with an action that is "mailto:email" (where email is a real email address). When I load this page in Mobile Safari in regular mode (ie, not launched from home screen with app-capable mode), this works fine - after I submit the form, the email app comes up. However,…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'd like to know the x/y offset of the how far the user has "scrolled" within the viewport in mobile safari on the iphone.
Put another way, if I (through javascript) reloaded the current page, I'd like to find the values I'd need to pass into window.scrollTo(...) in order to reposition the document/viewport…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using some semi-transparent PNGs as background-images on various websites. These are usually something like a 1x1 image with a 30-percent opaque white layer.
I've noticed that Mobile Safari does not display them correctly, giving them a darker/grayish tint.
I've created a couple test pages to…
>>> More