Question:
Message box popup on html button click?
Henry C
2009-05-19 03:54:15 UTC
I'm making an email with a html form, cant be bothered explaining why lol but anything, and at the end of the form when they click the submit button instead of sending the form i would like a popup window (perhaps vbs MSGBOX) to open saying Thankyou! or something like that.
I was told to try:








Male

Female






Along with many other options from various websites, none worked.
the form doesnt really make a difference
i just want the button at the end to open a message box. or window with text, or something
text on screen.
please help
Seven answers:
Jr B
2009-05-19 05:55:07 UTC
The following would show a box with your message and not submit the form:









If you did want to submit the form you could accomplish that using javascript as well.
esteybar
2016-12-30 12:57:30 UTC
Html Popup Message
?
2016-11-09 15:36:58 UTC
Html Message Box
2015-08-16 01:06:43 UTC
This Site Might Help You.



RE:

Message box popup on html button click?

I'm making an email with a html form, cant be bothered explaining why lol but anything, and at the end of the form when they click the submit button instead of sending the form i would like a popup window (perhaps vbs MSGBOX) to open saying Thankyou! or something like that.

I was told to...
2014-10-04 07:25:22 UTC
hi
?
2016-04-09 06:28:33 UTC
For the best answers, search on this site https://shorturl.im/axPav



All the content you want goes in this line between the quote marks: alert("Thank you!"); Change text between the quote marks for this to something simple but relevant: value="Cheer Up!" Ron
Chris C
2009-05-19 04:06:10 UTC
Here:



http://oreilly.com/catalog/vbscriptian/chapter/ch02.html


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...