Solved

Safari or IOS Issue?

Posted on 2013-10-22
4
568 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Several part series to implement Internet Explorer 11 Enterprise Mode
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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.
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.

758 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

23 Experts available now in Live!

Get 1:1 Help Now