[英]How to control what happens when a user puts their email in the text field and clicks submit
I am making a task list on my site, in which i will put different things to do.. 我正在网站上列出一个任务列表,在该列表中我将进行其他操作。
In the end they will be asked to put in their email address and click submit. 最后,将要求他们输入电子邮件地址,然后单击提交。
Now This is what I want to do when they click submit: 现在,这是他们单击提交时要执行的操作:
It will be my great honor if a volunteer helps me out. 志愿者的帮助将是我的荣幸。
I am also using wordpress 我也在用wordpress
You can't do this with just javascript. 您不能仅使用javascript做到这一点。 You will need that form to post to some back end server which can store the information (probably in a database), and process it at some point in the future when it is necessary.
您将需要将该表单发布到可以存储信息的后端服务器(可能存储在数据库中),并在将来必要时进行处理。
This can be done using JavaScript and Java Servlets. 可以使用JavaScript和Java Servlet来完成。 in action page call: action servlet.
在操作页面调用:操作servlet。 Servlet Should be able to send the email at particular time.
Servlet应该能够在特定时间发送电子邮件。
How to send email automatically at particular time of day in java Click here to see how to send an email at particular time 如何使用Java 在 一天中的特定时间自动发送电子邮件 单击此处以查看如何在特定时间发送电子邮件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.