?
Solved

iPad issue

Posted on 2012-03-11
7
Medium Priority
?
447 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

 
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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
The viewer will learn how to count occurrences of each item in an array.
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 +…
Suggested Courses

752 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