I'm using a javascript function to submit my form. This works in every browser except safari and I can't figure out why
My javascript function looks like this
function submitForm() {
var selectBox = '';
sel_guide_options = document.subForm.sel_guides;
if (sel_guide_options.type == "select-multiple") {
for (var i...
I am working on an iPhone mobile web app using jqtouch to make it feel more "native". It seems that safari chokes on large Ajax responses. Is there a limit on response size? Firefox is behaving normally and small responses are working just fine. Not sure where to start on this or what tools to use in safari to help troubleshoot.
...
I'm trying to use HTML5 Application Cache to speed some things up on an iPhone webapp. It works great for storing images, css and JS, but the problem is that it also tries to store the HTML. I haven't been able to get it to ignore the html and stop storing it in the cache. From what I've read, I have to "whitelist" the files and direc...
Hi everybody,
I don't know if it's a classic safari 4 bug, but apparently many people cannot display correctly a non-flash content (div, image, etc.) over a flash animation.
I tried everything: The wmode (switching from "opaque" to "transparent"), the z-index and many other div "cheats".
Did anyone know if there is a safari 4 patch/tr...
I'm trying to get the URL and document title from the topmost Safari document/tab. I have an AppleScript and an objective-c version using Apple's Scripting Bridge framework.
Both versions work fine for most web pages, however when I open a Youtube video in full-screen mode, the Scripting Bridge based version fails. The Apple Script work...
Background
I'm building an app that links recent
web pages you've visited together.
To do this, I need to get the HTML
for recent URLs using Cocoa.
Right now, I'm using an invisible
WebView to do this.
As I understand it, if the URL isn't
in the cache for my app, this is
hitting web servers.
What I want
The chances are high that t...
and set the 'height' 1/2 of full screen.
this is my code:
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" manifest="/m?manifest=1">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="v...
Hi,
Hoping someone can assist as to what I maybe doing wrong as my css (style) for the website all looks fine in Firefox but in both Chrome and Safari, my fonts are coming out looking black color instead of the grey color as is, in Firefox.
Can anyone pls assist as to why the fonts/color are different in Safari and Chrome - it looks li...
I'm looking for suggestions for debugging... I'm kind of at a loss right now. If you view this site in Firefox or IE, it will look fine... check it in Safari or Google Chrome and the text contained within the list elements of the sliding panel does not display :(
http://theatricalbellydance.com/home/
Any debug suggestions?
here is my...
This is not a real question, but rather an answer to save some others the hassle of tracking this nasty bug down. I wasted hours finding this out.
When using options.length = 0; to reset all options of a select element in safari, you can get mixed results depending on wether you have the Web Inspector open or not.
If the web inspector i...
I have a question of pure curiosity, though there has been a change in google behavior, and I would love to know what it is, and if there are any workarounds. I doubt many people know about this, are rely on it, though I do.
In Safari, in you put your cursor in the top right google search field, enter in some text, and press command an...
I have a plug-in that handles its own url schema (something like mystuf:// ). If a user clicks on such a link when the plug-in isn't installed (s)he gets an ugly error. So I extended my installer to write into the Registry (for Internet Explorer) and the user.js (for Firefox) to ADD a custom string to the user agent string. These additio...
Hi,
I am new to Xcode and would like to make a simple plug-in so that the plug-in can set the value to safari text box and get the id of the text box. Could someone please point me to the right direction? Thanks in advance.
...
hi,
Can any one tell how to set user credentials permanently for safari browser in iphone simulator?
...
Hi, I need to position this update button on www.euroworker.no/order (you'll have to add an item to the cart, use the Kjøp button to add and Handlevogn to view the cart). Works in FF and IE. (Although there is another alignment problems with IE) but not in Chrome or Safari. I had it working before, but the only thing I can think of to do...
Hello:
Here is a simple illustration of what I mean. It works in IE, and FF, but not in Safari.
I have four panels which are dynamically added to a tabpanel item. Three are grid panels, and one is a form panel. I need to preserve the grids proportions or sizes. I tried several layout methods (table, column, absolute etc), and nothi...
Hello,
I have a gridview within an updatepanel which allows paging and has a linkbutton that when clicked shows a modalpopup for editing records. This works fine in IE, Firefox, and Opera but I do not get a postback in Chrome or Safari?? I have other linkbuttons on the page that are within updatepanels but are not within gridviews that ...
I get a parse error from Safari with this code:
for (var i=0; i<parent.frames.length; i++){...}
doing
alert(parent.frames.length);
works and outputs the correct value which is 5.
I also tried but failed:
var len = parent.frames.length
alert(len); //Correct
for (var i=0; i<len; i++){...} //Parse Error
When i type this code into ...
My MVC controllers return 5xx status codes to indicate errors when called using jQuery ajax. This works great on IE8 and Firefox.
However, on my copy of Safari 4.0.5 running on Vista, this breaks. It looks like Safari is translating my 5xx status codes to -504.
Successful ajax calls work fine, and I've already tried uninstalling and r...
With Safari you can disable most iframe scrolling by setting style="overflow: hidden;" on the iframe. However, if you click in the iframe and move the mouse the content scrolls anyhow.
Example:
<html>
<body>
<iframe style="width: 100%; height:100px; overflow: hidden;" scrolling="no" src="scrollcontent.html">
</iframe>
</bod...