D
D
Dmitry2016-10-15 19:55:00
JavaScript
Dmitry, 2016-10-15 19:55:00

What's wrong with safari?

There is such a site .

In all browsers everything works as it should. In safari, firstly, the form is not validated (more precisely, submit still works, regardless of empty fields). Secondly, when the form is submitted, for some reason it scrolls down by about one screen.

For validation I use jquery.validationEngine.js . As far as I know, this plugin has no problems with safari.

I will be grateful for any help.

UPD: Safari is the latest version, mac os Sierra

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MaxFreedom, 2016-10-16
@RomanticOS

Each browser may have its own styles, so you need to initially reset them for each browser. Submit will always work in the presence of empty fields, its scroll indicates that it is trying to complete a form that most likely does not lead anywhere and is not checked in any way. To avoid empty fields, you need to disable the processing of empty fields. For example, on html5 you won't submit a form until you enter something like e-mail [email protected]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question