如何将我的提交按钮编码到电子邮件地址 [英] How do I code my submit button go to an email address
本文介绍了如何将我的提交按钮编码到电子邮件地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<输入
$ p $您可以使用带有action属性的我发送电子邮件按钮不起作用这里是我的html。有没有人看到问题? type =submitvalue =提交电子邮件至:info@whatshouldisay.ca< a href =mailto:info@whatshouldisay.ca>
Form c>标签提交<$ c>
解决方案 $ c $> mailto 。
以下是一个例子:
< form method =postaction =mailto:youremail@youremail.com>
< input type =submitvalue =发送电子邮件/>
< / form>
my send an email button isn't working "Here's my html. Does anyone see a problem?
<input type="submit" value="SUBMIT EMAIL TO: info@whatshouldisay.ca" <a href="mailto:info@whatshouldisay.ca">
解决方案You might use
Form
tag with action attribute to submit themailto
.Here is an example:
<form method="post" action="mailto:youremail@youremail.com" > <input type="submit" value="Send Email" /> </form>
这篇关于如何将我的提交按钮编码到电子邮件地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文