• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 449
  • Last Modified:

iPad issue

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
Richard Korts
Asked:
Richard Korts
  • 4
  • 3
1 Solution
 
Michel PlungjanIT ExpertCommented:
can you post the HTML instead?

(view-source)
0
 
Richard KortsAuthor Commented:
See attached.
custs-all.htm
0
 
Michel PlungjanIT ExpertCommented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Michel PlungjanIT ExpertCommented:
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
 
Richard KortsAuthor Commented:
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
 
Michel PlungjanIT ExpertCommented:
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
 
Richard KortsAuthor Commented:
That gives me a clue; it's the size of the select  (# of rows).
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now