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.
http://www.premiumpixels.com/freebies/popup-modal-window-psd/
monica.slocum
0
Newbie Poster
Recommended Answers
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 …
Jump to PostSo what you want is a message when someone has submitted the form right? From what you tell me, the same page reloads and then you want the pop up to show up right?
Well, if I had to do that, I would set a text file (or a cookie) …
All 5 Replies
JameB
66
Junior Poster
monica.slocum
0
Newbie Poster
JameB
66
Junior Poster
almostbob
866
Retired: passive income ROCKS
almostbob
866
Retired: passive income ROCKS
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.