I have a modal window that pops up when I want to add a new project to my dashboard. I have gotten it to work with post however, I cannot prevent it from refreshing.
What I want to do is after the project is added to the database, show a success message and close the modal window after few seconds, and not refresh the page (i.e. the parent page of the modal).
How can I accomplish this?
Any help would be appreciated.