submitting the form, I want to stay on same page.
The problem here is even after refresh the form data is still present
( The form data is added in DB, so after refresh same data will get added to DB again even without the user clicking on submit form)
How do I handle this?
Use ajax
Обсуждают сегодня