G
G
Genri_Rus2020-04-24 21:23:35
JavaScript
Genri_Rus, 2020-04-24 21:23:35

How it is possible to implement more correct behavior of the submit button?

The problem is, in the mobile version, my submit button should not send any data

5ea32ba9cbc99026573893.png
5ea32bba44037163613090.png

. More details: https://codepen.io/Genri_Rus/pen/dyYvdpL

Ie . in the desktop version, the button should work for me, but in the mobile version it only serves to close the input

. How do I do it right and how do they do it on normal sites?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
its2easyy, 2020-04-24
@its2easyy

https://learn.javascript.ru/default-browser-action

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question