JavaScript остановите форму от перезагрузки
Use <button type="button"> to override default submission behavior
Use event.preventDefault() in the onSubmit event to prevent form submission
Ronnie