Solved

Safari or IOS Issue?

Posted on 2013-10-22
4
590 Views
Last Modified: 2013-10-22
Hello,

See attached html. Note this is basically a normal html form. This all works fine in IE (vers. 9 - 10) & FireFox.

Running it on an iPad in Safari DOES NOT work; specifically, it simply ignores all the input & refreshes the page.

Note that the line 328 the form action attribute is index.php. So it just goes there.

Note the Javascript function chk_vals(). Note that after checking all the values, it changes the action attribute to another page (which saves the results & does some other things).

Is there something wrong with the Javascript? Do I have to do something special to make it work right on Safair / IOS?

Thanks
0
Comment
Question by:Richard Korts
  • 2
  • 2
4 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39592754
Uhm..... Attached HTML????

Cd&
0
 

Author Comment

by:Richard Korts
ID: 39592764
Sorry............

Attached.
index.htm
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 39592806
Well that is a really broken page.  The is more than one html tag, the title tag is between the end of the head and the start of the body, and the form is definitely broken because the form tag is between rows of the table.  

The validator cannot even process through the whole thing, so I am not surprised that an OS/browser with known issues handling form events would fail.  

You are not going to get it to work in something as fussy as Safari when structurally it is not a valid page and you have a broken form.  

Cd&
0
 

Author Closing Comment

by:Richard Korts
ID: 39592854
Wow, really simple. I inherited the HTML skeleton from the customer, never occurred to me those issues. I probably screwed up & put the <form> tag in the wrong place.

Works great now on iPad.

Thanks!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

756 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