Solved

iPad issue

Posted on 2012-03-11
7
443 Views
Last Modified: 2012-03-15
See attached code snipped. This DOES NOT work in Safari on an iPad.

The select has NOTHING listed in it.

I'm guessing it has to do with the associated JavaScript.

Any ideas?
javascript-html.htm
0
Comment
Question by:Richard Korts
  • 4
  • 3
7 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 37709551
can you post the HTML instead?

(view-source)
0
 

Author Comment

by:Richard Korts
ID: 37710181
See attached.
custs-all.htm
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 37710237
Woah - too many lines ;) Next time just post a few dummy lines.

I will take a look.

Which dropdown is empty?
The first one?
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 37710279
Can I by the way suggest you instead of loading 400K you load 200K by having

var cl = [];
window.onload=function() {
  var sel = document.nxt.clist;
  for (var i=0, n=sel.length;i<n;i++) {
    cl[i]=sel.options[i].text;
  }
}

Open in new window


which will replace

cl = new Array();
cl[0]=...
cl[1]=...
0
 

Author Comment

by:Richard Korts
ID: 37710431
The page is generated by php. It works PERFECTLY in IE & FireFox

I cut out the majority of the generated Javascript array  & the select pulldown list. It's attached.
custs-all1.htm
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 37710440
On my iPhone I see the dropdown with size 1
I can type text into the text field to select some

Safari mobile
Here is a discussion

https://discussions.apple.com/thread/2637434?threadID=2637434
0
 

Author Closing Comment

by:Richard Korts
ID: 37725799
That gives me a clue; it's the size of the select  (# of rows).
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Split wordpress loop 35 56
How to call a web service and get the results posted in a form in PHP 9 52
Ahax pagination 9 32
$_SERVER Variable question 31 28
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to count occurrences of each item in an array.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question