Solved

iPad issue

Posted on 2012-03-11
7
441 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now