我有此代码...
<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"/> for this seems to not allow the mail to be sent.更多推荐
快速HTML发送表单数据
发布评论