快速HTML发送表单数据

编程入门 行业动态 更新时间:2024-10-11 05:28:28
本文介绍了快速HTML发送表单数据-已解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有此代码...

<removed /><br />

这给了我所需的数据,但在电子邮件正文中却是这样显示的... 客户名称客户编号 而我希望它是 客户名称 客户编号 我知道这很简单,但是我也是如此! 如何在其中放置新行? 提前谢谢. 经过大量的实验和谷歌搜索,我找到了答案. 对于那些感兴趣的人,请使用%0A"而不是< br/>或& nbsp 非常感谢Pete在此问题上所花费的时间.不可以,因为您更改了引用,所以不能像这样放置href.您需要做的是将其应用于显示的文本,而不是href.

对不起,皮特,不起作用. 我这样做正确吗? onclick ="location.href = this.form.sendEmailTo.options [sendEmailTo.selectedIndex] .value + this.form.customername.value< br/> + this.form.customernumber.value"/& gt; 因为这似乎不允许发送邮件.

I have this code...

<removed /><br />

This is giving me the data I need, but it is presented like this in the email body... customernamecustomernumber whereas I would like it to be customername customernumber I know it is simple, but then, so am I! How do I put a new line in there? Thanks in advance. After much experimentation and googling I found the answer. For those interested, usd "%0A" rather than < br/ > or & nbsp Many thanks to Pete for his time spent on this matter.

解决方案

After customername, put the <br/> tag.

No, you can''t put your href like this as you''ve changed the reference. What you need to do is to apply that to the text that you display, and not the href.

sorry Pete, doesn''t work. Am I right in doing this? onclick="location.href=this.form.sendEmailTo.options[sendEmailTo.selectedIndex].value + this.form.customername.value<br/> + this.form.customernumber.value"/&gt; for this seems to not allow the mail to be sent.

更多推荐

快速HTML发送表单数据

本文发布于:2023-10-12 05:07:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1483797.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:表单   快速   数据   HTML

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!