Good afternoon, there is a form of such a structure:
<form action="" id="add-user"> <input type="text"> <input type="text"> <input type="text"> <input type="text"> <input type="text"> <button type="submit" name="save">Сохранить</button> </form>
How to make it so that when you serialize a form using jQuery:
var formData = $("#add-user").serialize();
pass $ _POST ['save']?
That would solve many problems ...
Thanks in advance for the answers.