Next button + Javascript form processing leads to problem on iPhone

I have a form with two dropdowns on a simple HTML page. Depending on the value selected in the first drop-down list, the Javascript event handler (using the onChange event) changes the parameters of the second drop-down list.

When I select a value in the first field and touch the second window in the browser window, everything works fine, but when I use the "Next" button provided by the Mobile Safari drop-down list, only the changed list is changed, but the old values ​​are still saved in the drop-down list. How can i fix this?

early

+3
source share
2

Edit:

, Mobile Safari. HTML , .

0

, , " IE 6", , . , , , , .

0

Source: https://habr.com/ru/post/1765246/


All Articles