Basically I am looking for a very simple popup box to come up after a user hits the submit button. I don't want it to say "Are you sure you want to submit this" or anything like that just simply "Thank you for your submission". Ideally the page would be reloaded (which I know how to get that working) and then the popup would show up. Any ideas? I have googled and couldn't find this everything I found were for confirmation popup's not this. Pretty much just like this dialouge box in this link but just plain and just saying "Thank you for your submission" with a close button.
Jump to Post
<form method="post" id="some_id" action="process.php" onSubmit="alert('Thank you!');" >
EDIT: Sorry I realized you wanted something on the reload and not before leaving.. What you can do is in the PHP script, add small code to change the content of a file to 1 from 0 after you …
All 5 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.